Giter Site home page Giter Site logo

errsy's People

Contributors

kamil-bednarek avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

errsy's Issues

[Insight] Text files should end with a newline character - in app/config/parameters.yml.dist, line 23

in app/config/parameters.yml.dist, line 23

This file ends with no newline character. It won't render properly on a terminal, and it's considered a bad practice. Add a simple line feed as the last character to fix it.

    # A secret key that's used to generate certain security-related tokens
    secret:            ThisTokenIsNotSoSecretChangeIt
    elasticsearch.connections:
        - '172.20.0.11:9200'
        - '172.20.0.10:9200'
    elasticsearch.index: error_retention

Posted from SensioLabsInsight

[Insight] Text files should end with a newline character - in app/config/services.yml, line 27

in app/config/services.yml, line 27

This file ends with no newline character. It won't render properly on a terminal, and it's considered a bad practice. Add a simple line feed as the last character to fix it.

#    ongr_filter_manager:
#        cache:
#            engine: 'es.cache_engine' # cache engine, set null to disable caching
#            life_time: 1080 # cache life time in seconds, 3 hours default
#            exclude:
#                - search

Posted from SensioLabsInsight

[Insight] Commented code should not be committed - in web/app.php, line 13

in web/app.php, line 13

Commented out code reduces readability and lowers the code confidence for other developers. If it's common usage for debug, it should not be committed. Using a version control system, such code can be safely removed.

$loader = require __DIR__.'/../app/autoload.php';
include_once __DIR__.'/../var/bootstrap.php.cache';

$kernel = new AppKernel('prod', false);
$kernel->loadClassCache();
//$kernel = new AppCache($kernel);

// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
//Request::enableHttpMethodParameterOverride();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);

Posted from SensioLabsInsight

[Insight] Commented code should not be committed - in web/app.php, line 16

in web/app.php, line 16

Commented out code reduces readability and lowers the code confidence for other developers. If it's common usage for debug, it should not be committed. Using a version control system, such code can be safely removed.

$kernel = new AppKernel('prod', false);
$kernel->loadClassCache();
//$kernel = new AppCache($kernel);

// When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
//Request::enableHttpMethodParameterOverride();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);

Posted from SensioLabsInsight

[Insight] User specific files should not appear in .gitignore - in .gitignore, line 27

in .gitignore, line 27

.DS_Store is user-specific and should not appear in a project .gitignore. Consider adding it to the user global .gitignore instead.

.idea/
/web/assets-dev/vendor/*
!/web/assets-dev/vendor/.gitkeep
/web/assets-built/*
!/web/assets-built/.gitkeep
.DS_Store
web/uploads/google/feeds
web/uploads/avatars
web/uploads/banners
!web/uploads/banners/.gitkeep
web/media/cache

Posted from SensioLabsInsight

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.