PHP code should follow PSR-1 basic coding standard 6

More information: https://insight.symfony.com/what-we-analyse/php.psr1

  1. namespace AnimeDb\Bundle\AppBundle\DoctrineMigrations;
  2. use Doctrine\DBAL\Migrations\AbstractMigration;
  3. use Doctrine\DBAL\Schema\Schema;
  4. class Version20130930180820_Init extends AbstractMigration

    Class names should be declared in StudlyCaps.
    You should rename this class to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Peter Gribanov
  5. {
  6. public function up(Schema $schema)
  7. {
  8. // create tables
  9. $this->addSql('CREATE TABLE `task` (
  • peter-gribanov

    Ignored on Wed, 19 Nov 2014 08:55:32 GMT
  1. use Doctrine\DBAL\Migrations\AbstractMigration;
  2. use Doctrine\DBAL\Schema\Schema;
  3. use AnimeDb\Bundle\AppBundle\Entity\Task;
  4. class Version20131014155050_AddClearMediaTempTask extends AbstractMigration

    Class names should be declared in StudlyCaps.
    You should rename this class to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Peter Gribanov
  5. {
  6. public function up(Schema $schema)
  7. {
  8. // run a clear temporary folder every day at 1 am
  9. $this->addSql('
  • peter-gribanov

    Ignored on Wed, 19 Nov 2014 08:55:43 GMT
  1. use Doctrine\DBAL\Migrations\AbstractMigration;
  2. use Doctrine\DBAL\Schema\Schema;
  3. use AnimeDb\Bundle\AppBundle\Entity\Task;
  4. use AnimeDb\Bundle\AppBundle\Command\ProposeUpdateCommand;
  5. class Version20131128101508_AddProposeUpdateTask extends AbstractMigration

    Class names should be declared in StudlyCaps.
    You should rename this class to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Peter Gribanov
  6. {
  7. public function up(Schema $schema)
  8. {
  9. // run a propose update at 1 am
  10. $this->addSql('
  • peter-gribanov

    Ignored on Wed, 19 Nov 2014 08:55:48 GMT
  1. namespace AnimeDb\Bundle\AppBundle\DoctrineMigrations;
  2. use Doctrine\DBAL\Migrations\AbstractMigration;
  3. use Doctrine\DBAL\Schema\Schema;
  4. class Version20131205113046_AddPluginTable extends AbstractMigration

    Class names should be declared in StudlyCaps.
    You should rename this class to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Peter Gribanov
  5. {
  6. public function up(Schema $schema)
  7. {
  8. $this->addSql('
  9. CREATE TABLE plugin (
  • peter-gribanov

    Ignored on Wed, 19 Nov 2014 08:55:51 GMT
  1. namespace AnimeDb\Bundle\AppBundle\DoctrineMigrations;
  2. use Doctrine\DBAL\Migrations\AbstractMigration;
  3. use Doctrine\DBAL\Schema\Schema;
  4. class Version20131223134044_AddNoticeDateStart extends AbstractMigration

    Class names should be declared in StudlyCaps.
    You should rename this class to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Peter Gribanov
  5. {
  6. public function up(Schema $schema)
  7. {
  8. // create temp table from new structure
  9. $this->addSql('CREATE TABLE "_new" (
  • peter-gribanov

    Ignored on Wed, 19 Nov 2014 08:55:54 GMT
  1. namespace AnimeDb\Bundle\AppBundle\DoctrineMigrations;
  2. use Doctrine\DBAL\Migrations\AbstractMigration;
  3. use Doctrine\DBAL\Schema\Schema;
  4. class Version20140609125319_AddTypeForNotices extends AbstractMigration

    Class names should be declared in StudlyCaps.
    You should rename this class to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Peter Gribanov
  5. {
  6. public function up(Schema $schema)
  7. {
  8. // create temp table from new structure
  9. $this->addSql('CREATE TABLE "_new" (
  • peter-gribanov

    Ignored on Wed, 19 Nov 2014 08:55:59 GMT