diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2019-11-14 15:19:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-14 15:19:18 +0100 |
commit | 98d8e0c1b929a198da0fbcbffbc011e985b5df01 (patch) | |
tree | d7278a13dce4e6dcb253f124420e93ad5069df5e | |
parent | 8d8d6818fb6b6bc2f4140285a2a53c74e38bc010 (diff) | |
parent | 4a31f3b6a22b29bee5295aa3099fff79d137a00c (diff) | |
download | wallabag-98d8e0c1b929a198da0fbcbffbc011e985b5df01.tar.gz wallabag-98d8e0c1b929a198da0fbcbffbc011e985b5df01.tar.zst wallabag-98d8e0c1b929a198da0fbcbffbc011e985b5df01.zip |
Merge pull request #4183 from wallabag/update-deps
Update deps
87 files changed, 225 insertions, 673 deletions
diff --git a/app/DoctrineMigrations/Version20160401000000.php b/app/DoctrineMigrations/Version20160401000000.php index c80e3e1f..9417935b 100644 --- a/app/DoctrineMigrations/Version20160401000000.php +++ b/app/DoctrineMigrations/Version20160401000000.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20160401000000 extends WallabagMigration | 11 | class Version20160401000000 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $this->skipIf($schema->hasTable($this->getTable('entry')), 'Database already initialized'); | 15 | $this->skipIf($schema->hasTable($this->getTable('entry')), 'Database already initialized'); |
@@ -167,9 +164,6 @@ SQL | |||
167 | } | 164 | } |
168 | } | 165 | } |
169 | 166 | ||
170 | /** | ||
171 | * @param Schema $schema | ||
172 | */ | ||
173 | public function down(Schema $schema) | 167 | public function down(Schema $schema) |
174 | { | 168 | { |
175 | $this->addSql("DROP TABLE {$this->getTable('craue_config_setting')}"); | 169 | $this->addSql("DROP TABLE {$this->getTable('craue_config_setting')}"); |
diff --git a/app/DoctrineMigrations/Version20160410190541.php b/app/DoctrineMigrations/Version20160410190541.php index e1bd3e5c..5b6d83dc 100644 --- a/app/DoctrineMigrations/Version20160410190541.php +++ b/app/DoctrineMigrations/Version20160410190541.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20160410190541 extends WallabagMigration | 11 | class Version20160410190541 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $entryTable = $schema->getTable($this->getTable('entry')); | 15 | $entryTable = $schema->getTable($this->getTable('entry')); |
@@ -34,9 +31,6 @@ class Version20160410190541 extends WallabagMigration | |||
34 | } | 31 | } |
35 | } | 32 | } |
36 | 33 | ||
37 | /** | ||
38 | * @param Schema $schema | ||
39 | */ | ||
40 | public function down(Schema $schema) | 34 | public function down(Schema $schema) |
41 | { | 35 | { |
42 | $entryTable = $schema->getTable($this->getTable('entry')); | 36 | $entryTable = $schema->getTable($this->getTable('entry')); |
diff --git a/app/DoctrineMigrations/Version20160812120952.php b/app/DoctrineMigrations/Version20160812120952.php index d09aefa0..f5f90850 100644 --- a/app/DoctrineMigrations/Version20160812120952.php +++ b/app/DoctrineMigrations/Version20160812120952.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20160812120952 extends WallabagMigration | 11 | class Version20160812120952 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $clientsTable = $schema->getTable($this->getTable('oauth2_clients')); | 15 | $clientsTable = $schema->getTable($this->getTable('oauth2_clients')); |
@@ -34,9 +31,6 @@ class Version20160812120952 extends WallabagMigration | |||
34 | } | 31 | } |
35 | } | 32 | } |
36 | 33 | ||
37 | /** | ||
38 | * @param Schema $schema | ||
39 | */ | ||
40 | public function down(Schema $schema) | 34 | public function down(Schema $schema) |
41 | { | 35 | { |
42 | $clientsTable = $schema->getTable($this->getTable('oauth2_clients')); | 36 | $clientsTable = $schema->getTable($this->getTable('oauth2_clients')); |
diff --git a/app/DoctrineMigrations/Version20160911214952.php b/app/DoctrineMigrations/Version20160911214952.php index 9dc225fd..4d7e0f7e 100644 --- a/app/DoctrineMigrations/Version20160911214952.php +++ b/app/DoctrineMigrations/Version20160911214952.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20160911214952 extends WallabagMigration | 11 | class Version20160911214952 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $redis = $this->container | 15 | $redis = $this->container |
@@ -36,9 +33,6 @@ class Version20160911214952 extends WallabagMigration | |||
36 | $this->skipIf(false !== $rabbitmq && false !== $redis, 'It seems that you already played this migration.'); | 33 | $this->skipIf(false !== $rabbitmq && false !== $redis, 'It seems that you already played this migration.'); |
37 | } | 34 | } |
38 | 35 | ||
39 | /** | ||
40 | * @param Schema $schema | ||
41 | */ | ||
42 | public function down(Schema $schema) | 36 | public function down(Schema $schema) |
43 | { | 37 | { |
44 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'import_with_redis';"); | 38 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'import_with_redis';"); |
diff --git a/app/DoctrineMigrations/Version20160916201049.php b/app/DoctrineMigrations/Version20160916201049.php index 13f99ce1..fc5e04ae 100644 --- a/app/DoctrineMigrations/Version20160916201049.php +++ b/app/DoctrineMigrations/Version20160916201049.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20160916201049 extends WallabagMigration | 11 | class Version20160916201049 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $configTable = $schema->getTable($this->getTable('config')); | 15 | $configTable = $schema->getTable($this->getTable('config')); |
@@ -23,9 +20,6 @@ class Version20160916201049 extends WallabagMigration | |||
23 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'pocket_consumer_key';"); | 20 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'pocket_consumer_key';"); |
24 | } | 21 | } |
25 | 22 | ||
26 | /** | ||
27 | * @param Schema $schema | ||
28 | */ | ||
29 | public function down(Schema $schema) | 23 | public function down(Schema $schema) |
30 | { | 24 | { |
31 | $configTable = $schema->getTable($this->getTable('config')); | 25 | $configTable = $schema->getTable($this->getTable('config')); |
diff --git a/app/DoctrineMigrations/Version20161001072726.php b/app/DoctrineMigrations/Version20161001072726.php index 4e19a54a..497cb2a1 100644 --- a/app/DoctrineMigrations/Version20161001072726.php +++ b/app/DoctrineMigrations/Version20161001072726.php | |||
@@ -11,9 +11,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
11 | */ | 11 | */ |
12 | class Version20161001072726 extends WallabagMigration | 12 | class Version20161001072726 extends WallabagMigration |
13 | { | 13 | { |
14 | /** | ||
15 | * @param Schema $schema | ||
16 | */ | ||
17 | public function up(Schema $schema) | 14 | public function up(Schema $schema) |
18 | { | 15 | { |
19 | $this->skipIf('sqlite' === $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\' or \'postgresql\'.'); | 16 | $this->skipIf('sqlite' === $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\' or \'postgresql\'.'); |
@@ -98,9 +95,6 @@ class Version20161001072726 extends WallabagMigration | |||
98 | $this->addSql('ALTER TABLE ' . $this->getTable('annotation') . ' ADD CONSTRAINT FK_annotation_entry FOREIGN KEY (entry_id) REFERENCES ' . $this->getTable('entry') . ' (id) ON DELETE CASCADE'); | 95 | $this->addSql('ALTER TABLE ' . $this->getTable('annotation') . ' ADD CONSTRAINT FK_annotation_entry FOREIGN KEY (entry_id) REFERENCES ' . $this->getTable('entry') . ' (id) ON DELETE CASCADE'); |
99 | } | 96 | } |
100 | 97 | ||
101 | /** | ||
102 | * @param Schema $schema | ||
103 | */ | ||
104 | public function down(Schema $schema) | 98 | public function down(Schema $schema) |
105 | { | 99 | { |
106 | throw new SkipMigrationException('Too complex ...'); | 100 | throw new SkipMigrationException('Too complex ...'); |
diff --git a/app/DoctrineMigrations/Version20161022134138.php b/app/DoctrineMigrations/Version20161022134138.php index 231aada7..d993363c 100644 --- a/app/DoctrineMigrations/Version20161022134138.php +++ b/app/DoctrineMigrations/Version20161022134138.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20161022134138 extends WallabagMigration | 11 | class Version20161022134138 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration only apply to MySQL'); | 15 | $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration only apply to MySQL'); |
@@ -41,9 +38,6 @@ class Version20161022134138 extends WallabagMigration | |||
41 | $this->addSql('ALTER TABLE ' . $this->getTable('user') . ' CHANGE `name` `name` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;'); | 38 | $this->addSql('ALTER TABLE ' . $this->getTable('user') . ' CHANGE `name` `name` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;'); |
42 | } | 39 | } |
43 | 40 | ||
44 | /** | ||
45 | * @param Schema $schema | ||
46 | */ | ||
47 | public function down(Schema $schema) | 41 | public function down(Schema $schema) |
48 | { | 42 | { |
49 | $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration only apply to MySQL'); | 43 | $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration only apply to MySQL'); |
diff --git a/app/DoctrineMigrations/Version20161024212538.php b/app/DoctrineMigrations/Version20161024212538.php index a7e3c3c8..fa028ac0 100644 --- a/app/DoctrineMigrations/Version20161024212538.php +++ b/app/DoctrineMigrations/Version20161024212538.php | |||
@@ -12,9 +12,6 @@ class Version20161024212538 extends WallabagMigration | |||
12 | { | 12 | { |
13 | private $constraintName = 'IDX_user_oauth_client'; | 13 | private $constraintName = 'IDX_user_oauth_client'; |
14 | 14 | ||
15 | /** | ||
16 | * @param Schema $schema | ||
17 | */ | ||
18 | public function up(Schema $schema) | 15 | public function up(Schema $schema) |
19 | { | 16 | { |
20 | $clientsTable = $schema->getTable($this->getTable('oauth2_clients')); | 17 | $clientsTable = $schema->getTable($this->getTable('oauth2_clients')); |
@@ -32,9 +29,6 @@ class Version20161024212538 extends WallabagMigration | |||
32 | ); | 29 | ); |
33 | } | 30 | } |
34 | 31 | ||
35 | /** | ||
36 | * @param Schema $schema | ||
37 | */ | ||
38 | public function down(Schema $schema) | 32 | public function down(Schema $schema) |
39 | { | 33 | { |
40 | $clientsTable = $schema->getTable($this->getTable('oauth2_clients')); | 34 | $clientsTable = $schema->getTable($this->getTable('oauth2_clients')); |
diff --git a/app/DoctrineMigrations/Version20161031132655.php b/app/DoctrineMigrations/Version20161031132655.php index 8d576862..ec58cb2a 100644 --- a/app/DoctrineMigrations/Version20161031132655.php +++ b/app/DoctrineMigrations/Version20161031132655.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20161031132655 extends WallabagMigration | 11 | class Version20161031132655 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $images = $this->container | 15 | $images = $this->container |
@@ -25,9 +22,6 @@ class Version20161031132655 extends WallabagMigration | |||
25 | $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('download_images_enabled', 0, 'misc')"); | 22 | $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('download_images_enabled', 0, 'misc')"); |
26 | } | 23 | } |
27 | 24 | ||
28 | /** | ||
29 | * @param Schema $schema | ||
30 | */ | ||
31 | public function down(Schema $schema) | 25 | public function down(Schema $schema) |
32 | { | 26 | { |
33 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'download_images_enabled';"); | 27 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'download_images_enabled';"); |
diff --git a/app/DoctrineMigrations/Version20161104073720.php b/app/DoctrineMigrations/Version20161104073720.php index e2b18a46..e0289ec9 100644 --- a/app/DoctrineMigrations/Version20161104073720.php +++ b/app/DoctrineMigrations/Version20161104073720.php | |||
@@ -12,9 +12,6 @@ class Version20161104073720 extends WallabagMigration | |||
12 | { | 12 | { |
13 | private $indexName = 'IDX_entry_created_at'; | 13 | private $indexName = 'IDX_entry_created_at'; |
14 | 14 | ||
15 | /** | ||
16 | * @param Schema $schema | ||
17 | */ | ||
18 | public function up(Schema $schema) | 15 | public function up(Schema $schema) |
19 | { | 16 | { |
20 | $entryTable = $schema->getTable($this->getTable('entry')); | 17 | $entryTable = $schema->getTable($this->getTable('entry')); |
@@ -23,9 +20,6 @@ class Version20161104073720 extends WallabagMigration | |||
23 | $entryTable->addIndex(['created_at'], $this->indexName); | 20 | $entryTable->addIndex(['created_at'], $this->indexName); |
24 | } | 21 | } |
25 | 22 | ||
26 | /** | ||
27 | * @param Schema $schema | ||
28 | */ | ||
29 | public function down(Schema $schema) | 23 | public function down(Schema $schema) |
30 | { | 24 | { |
31 | $entryTable = $schema->getTable($this->getTable('entry')); | 25 | $entryTable = $schema->getTable($this->getTable('entry')); |
diff --git a/app/DoctrineMigrations/Version20161106113822.php b/app/DoctrineMigrations/Version20161106113822.php index 3a3c90db..5a4831f4 100644 --- a/app/DoctrineMigrations/Version20161106113822.php +++ b/app/DoctrineMigrations/Version20161106113822.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20161106113822 extends WallabagMigration | 11 | class Version20161106113822 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $configTable = $schema->getTable($this->getTable('config')); | 15 | $configTable = $schema->getTable($this->getTable('config')); |
@@ -25,9 +22,6 @@ class Version20161106113822 extends WallabagMigration | |||
25 | ]); | 22 | ]); |
26 | } | 23 | } |
27 | 24 | ||
28 | /** | ||
29 | * @param Schema $schema | ||
30 | */ | ||
31 | public function down(Schema $schema) | 25 | public function down(Schema $schema) |
32 | { | 26 | { |
33 | $configTable = $schema->getTable($this->getTable('config')); | 27 | $configTable = $schema->getTable($this->getTable('config')); |
diff --git a/app/DoctrineMigrations/Version20161117071626.php b/app/DoctrineMigrations/Version20161117071626.php index fc66e7e3..bafb70da 100644 --- a/app/DoctrineMigrations/Version20161117071626.php +++ b/app/DoctrineMigrations/Version20161117071626.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20161117071626 extends WallabagMigration | 11 | class Version20161117071626 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $share = $this->container | 15 | $share = $this->container |
@@ -36,9 +33,6 @@ class Version20161117071626 extends WallabagMigration | |||
36 | $this->skipIf(false !== $share && false !== $unmark, 'It seems that you already played this migration.'); | 33 | $this->skipIf(false !== $share && false !== $unmark, 'It seems that you already played this migration.'); |
37 | } | 34 | } |
38 | 35 | ||
39 | /** | ||
40 | * @param Schema $schema | ||
41 | */ | ||
42 | public function down(Schema $schema) | 36 | public function down(Schema $schema) |
43 | { | 37 | { |
44 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'share_unmark';"); | 38 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'share_unmark';"); |
diff --git a/app/DoctrineMigrations/Version20161118134328.php b/app/DoctrineMigrations/Version20161118134328.php index 8302408e..2298447a 100644 --- a/app/DoctrineMigrations/Version20161118134328.php +++ b/app/DoctrineMigrations/Version20161118134328.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20161118134328 extends WallabagMigration | 11 | class Version20161118134328 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $entryTable = $schema->getTable($this->getTable('entry')); | 15 | $entryTable = $schema->getTable($this->getTable('entry')); |
@@ -25,9 +22,6 @@ class Version20161118134328 extends WallabagMigration | |||
25 | ]); | 22 | ]); |
26 | } | 23 | } |
27 | 24 | ||
28 | /** | ||
29 | * @param Schema $schema | ||
30 | */ | ||
31 | public function down(Schema $schema) | 25 | public function down(Schema $schema) |
32 | { | 26 | { |
33 | $entryTable = $schema->getTable($this->getTable('entry')); | 27 | $entryTable = $schema->getTable($this->getTable('entry')); |
diff --git a/app/DoctrineMigrations/Version20161122144743.php b/app/DoctrineMigrations/Version20161122144743.php index 08a41f48..e628f058 100644 --- a/app/DoctrineMigrations/Version20161122144743.php +++ b/app/DoctrineMigrations/Version20161122144743.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20161122144743 extends WallabagMigration | 11 | class Version20161122144743 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $access = $this->container | 15 | $access = $this->container |
@@ -25,9 +22,6 @@ class Version20161122144743 extends WallabagMigration | |||
25 | $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('restricted_access', 0, 'entry')"); | 22 | $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('restricted_access', 0, 'entry')"); |
26 | } | 23 | } |
27 | 24 | ||
28 | /** | ||
29 | * @param Schema $schema | ||
30 | */ | ||
31 | public function down(Schema $schema) | 25 | public function down(Schema $schema) |
32 | { | 26 | { |
33 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'restricted_access';"); | 27 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'restricted_access';"); |
diff --git a/app/DoctrineMigrations/Version20161122203647.php b/app/DoctrineMigrations/Version20161122203647.php index 60ddeb08..27fe7d2c 100644 --- a/app/DoctrineMigrations/Version20161122203647.php +++ b/app/DoctrineMigrations/Version20161122203647.php | |||
@@ -18,9 +18,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
18 | */ | 18 | */ |
19 | class Version20161122203647 extends WallabagMigration | 19 | class Version20161122203647 extends WallabagMigration |
20 | { | 20 | { |
21 | /** | ||
22 | * @param Schema $schema | ||
23 | */ | ||
24 | public function up(Schema $schema) | 21 | public function up(Schema $schema) |
25 | { | 22 | { |
26 | $userTable = $schema->getTable($this->getTable('user')); | 23 | $userTable = $schema->getTable($this->getTable('user')); |
@@ -31,9 +28,6 @@ class Version20161122203647 extends WallabagMigration | |||
31 | $userTable->dropColumn('credentials_expired'); | 28 | $userTable->dropColumn('credentials_expired'); |
32 | } | 29 | } |
33 | 30 | ||
34 | /** | ||
35 | * @param Schema $schema | ||
36 | */ | ||
37 | public function down(Schema $schema) | 31 | public function down(Schema $schema) |
38 | { | 32 | { |
39 | $userTable = $schema->getTable($this->getTable('user')); | 33 | $userTable = $schema->getTable($this->getTable('user')); |
diff --git a/app/DoctrineMigrations/Version20161128084725.php b/app/DoctrineMigrations/Version20161128084725.php index ef747154..e22e842f 100644 --- a/app/DoctrineMigrations/Version20161128084725.php +++ b/app/DoctrineMigrations/Version20161128084725.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20161128084725 extends WallabagMigration | 11 | class Version20161128084725 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $configTable = $schema->getTable($this->getTable('config')); | 15 | $configTable = $schema->getTable($this->getTable('config')); |
@@ -21,9 +18,6 @@ class Version20161128084725 extends WallabagMigration | |||
21 | $configTable->addColumn('list_mode', 'integer', ['notnull' => false]); | 18 | $configTable->addColumn('list_mode', 'integer', ['notnull' => false]); |
22 | } | 19 | } |
23 | 20 | ||
24 | /** | ||
25 | * @param Schema $schema | ||
26 | */ | ||
27 | public function down(Schema $schema) | 21 | public function down(Schema $schema) |
28 | { | 22 | { |
29 | $configTable = $schema->getTable($this->getTable('config')); | 23 | $configTable = $schema->getTable($this->getTable('config')); |
diff --git a/app/DoctrineMigrations/Version20161128131503.php b/app/DoctrineMigrations/Version20161128131503.php index cd434617..2a34d448 100644 --- a/app/DoctrineMigrations/Version20161128131503.php +++ b/app/DoctrineMigrations/Version20161128131503.php | |||
@@ -16,9 +16,6 @@ class Version20161128131503 extends WallabagMigration | |||
16 | 'expires_at' => 'datetime', | 16 | 'expires_at' => 'datetime', |
17 | ]; | 17 | ]; |
18 | 18 | ||
19 | /** | ||
20 | * @param Schema $schema | ||
21 | */ | ||
22 | public function up(Schema $schema) | 19 | public function up(Schema $schema) |
23 | { | 20 | { |
24 | $userTable = $schema->getTable($this->getTable('user')); | 21 | $userTable = $schema->getTable($this->getTable('user')); |
@@ -29,9 +26,6 @@ class Version20161128131503 extends WallabagMigration | |||
29 | } | 26 | } |
30 | } | 27 | } |
31 | 28 | ||
32 | /** | ||
33 | * @param Schema $schema | ||
34 | */ | ||
35 | public function down(Schema $schema) | 29 | public function down(Schema $schema) |
36 | { | 30 | { |
37 | $userTable = $schema->getTable($this->getTable('user')); | 31 | $userTable = $schema->getTable($this->getTable('user')); |
diff --git a/app/DoctrineMigrations/Version20161214094402.php b/app/DoctrineMigrations/Version20161214094402.php index e9f1a302..0240f599 100644 --- a/app/DoctrineMigrations/Version20161214094402.php +++ b/app/DoctrineMigrations/Version20161214094402.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20161214094402 extends WallabagMigration | 11 | class Version20161214094402 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $entryTable = $schema->getTable($this->getTable('entry')); | 15 | $entryTable = $schema->getTable($this->getTable('entry')); |
@@ -35,9 +32,6 @@ class Version20161214094402 extends WallabagMigration | |||
35 | } | 32 | } |
36 | } | 33 | } |
37 | 34 | ||
38 | /** | ||
39 | * @param Schema $schema | ||
40 | */ | ||
41 | public function down(Schema $schema) | 35 | public function down(Schema $schema) |
42 | { | 36 | { |
43 | $entryTable = $schema->getTable($this->getTable('entry')); | 37 | $entryTable = $schema->getTable($this->getTable('entry')); |
diff --git a/app/DoctrineMigrations/Version20161214094403.php b/app/DoctrineMigrations/Version20161214094403.php index 1f9e1f6b..c6003cb3 100644 --- a/app/DoctrineMigrations/Version20161214094403.php +++ b/app/DoctrineMigrations/Version20161214094403.php | |||
@@ -12,9 +12,6 @@ class Version20161214094403 extends WallabagMigration | |||
12 | { | 12 | { |
13 | private $indexName = 'IDX_entry_uid'; | 13 | private $indexName = 'IDX_entry_uid'; |
14 | 14 | ||
15 | /** | ||
16 | * @param Schema $schema | ||
17 | */ | ||
18 | public function up(Schema $schema) | 15 | public function up(Schema $schema) |
19 | { | 16 | { |
20 | $entryTable = $schema->getTable($this->getTable('entry')); | 17 | $entryTable = $schema->getTable($this->getTable('entry')); |
@@ -23,9 +20,6 @@ class Version20161214094403 extends WallabagMigration | |||
23 | $entryTable->addIndex(['uid'], $this->indexName); | 20 | $entryTable->addIndex(['uid'], $this->indexName); |
24 | } | 21 | } |
25 | 22 | ||
26 | /** | ||
27 | * @param Schema $schema | ||
28 | */ | ||
29 | public function down(Schema $schema) | 23 | public function down(Schema $schema) |
30 | { | 24 | { |
31 | $entryTable = $schema->getTable($this->getTable('entry')); | 25 | $entryTable = $schema->getTable($this->getTable('entry')); |
diff --git a/app/DoctrineMigrations/Version20170127093841.php b/app/DoctrineMigrations/Version20170127093841.php index 491b9383..d8eb34e5 100644 --- a/app/DoctrineMigrations/Version20170127093841.php +++ b/app/DoctrineMigrations/Version20170127093841.php | |||
@@ -13,9 +13,6 @@ class Version20170127093841 extends WallabagMigration | |||
13 | private $indexStarredName = 'IDX_entry_starred'; | 13 | private $indexStarredName = 'IDX_entry_starred'; |
14 | private $indexArchivedName = 'IDX_entry_archived'; | 14 | private $indexArchivedName = 'IDX_entry_archived'; |
15 | 15 | ||
16 | /** | ||
17 | * @param Schema $schema | ||
18 | */ | ||
19 | public function up(Schema $schema) | 16 | public function up(Schema $schema) |
20 | { | 17 | { |
21 | $entryTable = $schema->getTable($this->getTable('entry')); | 18 | $entryTable = $schema->getTable($this->getTable('entry')); |
@@ -25,9 +22,6 @@ class Version20170127093841 extends WallabagMigration | |||
25 | $entryTable->addIndex(['is_archived'], $this->indexArchivedName); | 22 | $entryTable->addIndex(['is_archived'], $this->indexArchivedName); |
26 | } | 23 | } |
27 | 24 | ||
28 | /** | ||
29 | * @param Schema $schema | ||
30 | */ | ||
31 | public function down(Schema $schema) | 25 | public function down(Schema $schema) |
32 | { | 26 | { |
33 | $entryTable = $schema->getTable($this->getTable('entry')); | 27 | $entryTable = $schema->getTable($this->getTable('entry')); |
diff --git a/app/DoctrineMigrations/Version20170327194233.php b/app/DoctrineMigrations/Version20170327194233.php index 1aa20eb5..268f8cde 100644 --- a/app/DoctrineMigrations/Version20170327194233.php +++ b/app/DoctrineMigrations/Version20170327194233.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20170327194233 extends WallabagMigration | 11 | class Version20170327194233 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $scuttle = $this->container | 15 | $scuttle = $this->container |
@@ -26,9 +23,6 @@ class Version20170327194233 extends WallabagMigration | |||
26 | $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('scuttle_url', 'http://scuttle.org', 'entry')"); | 23 | $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('scuttle_url', 'http://scuttle.org', 'entry')"); |
27 | } | 24 | } |
28 | 25 | ||
29 | /** | ||
30 | * @param Schema $schema | ||
31 | */ | ||
32 | public function down(Schema $schema) | 26 | public function down(Schema $schema) |
33 | { | 27 | { |
34 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'share_scuttle';"); | 28 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'share_scuttle';"); |
diff --git a/app/DoctrineMigrations/Version20170405182620.php b/app/DoctrineMigrations/Version20170405182620.php index c7752664..798c72af 100644 --- a/app/DoctrineMigrations/Version20170405182620.php +++ b/app/DoctrineMigrations/Version20170405182620.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20170405182620 extends WallabagMigration | 11 | class Version20170405182620 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $entryTable = $schema->getTable($this->getTable('entry')); | 15 | $entryTable = $schema->getTable($this->getTable('entry')); |
@@ -30,9 +27,6 @@ class Version20170405182620 extends WallabagMigration | |||
30 | ]); | 27 | ]); |
31 | } | 28 | } |
32 | 29 | ||
33 | /** | ||
34 | * @param Schema $schema | ||
35 | */ | ||
36 | public function down(Schema $schema) | 30 | public function down(Schema $schema) |
37 | { | 31 | { |
38 | $entryTable = $schema->getTable($this->getTable('entry')); | 32 | $entryTable = $schema->getTable($this->getTable('entry')); |
diff --git a/app/DoctrineMigrations/Version20170407200919.php b/app/DoctrineMigrations/Version20170407200919.php index ad05eadf..d9fff6c3 100644 --- a/app/DoctrineMigrations/Version20170407200919.php +++ b/app/DoctrineMigrations/Version20170407200919.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20170407200919 extends WallabagMigration | 11 | class Version20170407200919 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $entryTable = $schema->getTable($this->getTable('entry')); | 15 | $entryTable = $schema->getTable($this->getTable('entry')); |
@@ -21,9 +18,6 @@ class Version20170407200919 extends WallabagMigration | |||
21 | $entryTable->dropColumn('is_public'); | 18 | $entryTable->dropColumn('is_public'); |
22 | } | 19 | } |
23 | 20 | ||
24 | /** | ||
25 | * @param Schema $schema | ||
26 | */ | ||
27 | public function down(Schema $schema) | 21 | public function down(Schema $schema) |
28 | { | 22 | { |
29 | $entryTable = $schema->getTable($this->getTable('entry')); | 23 | $entryTable = $schema->getTable($this->getTable('entry')); |
diff --git a/app/DoctrineMigrations/Version20170420134133.php b/app/DoctrineMigrations/Version20170420134133.php index c1732578..2bf05346 100644 --- a/app/DoctrineMigrations/Version20170420134133.php +++ b/app/DoctrineMigrations/Version20170420134133.php | |||
@@ -10,17 +10,11 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20170420134133 extends WallabagMigration | 11 | class Version20170420134133 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'download_pictures';"); | 15 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'download_pictures';"); |
19 | } | 16 | } |
20 | 17 | ||
21 | /** | ||
22 | * @param Schema $schema | ||
23 | */ | ||
24 | public function down(Schema $schema) | 18 | public function down(Schema $schema) |
25 | { | 19 | { |
26 | $downloadPictures = $this->container | 20 | $downloadPictures = $this->container |
diff --git a/app/DoctrineMigrations/Version20170501115751.php b/app/DoctrineMigrations/Version20170501115751.php index fd238cef..a879cd44 100644 --- a/app/DoctrineMigrations/Version20170501115751.php +++ b/app/DoctrineMigrations/Version20170501115751.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20170501115751 extends WallabagMigration | 11 | class Version20170501115751 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $this->skipIf($schema->hasTable($this->getTable('site_credential')), 'It seems that you already played this migration.'); | 15 | $this->skipIf($schema->hasTable($this->getTable('site_credential')), 'It seems that you already played this migration.'); |
@@ -34,9 +31,6 @@ class Version20170501115751 extends WallabagMigration | |||
34 | } | 31 | } |
35 | } | 32 | } |
36 | 33 | ||
37 | /** | ||
38 | * @param Schema $schema | ||
39 | */ | ||
40 | public function down(Schema $schema) | 34 | public function down(Schema $schema) |
41 | { | 35 | { |
42 | $schema->dropTable($this->getTable('site_credential')); | 36 | $schema->dropTable($this->getTable('site_credential')); |
diff --git a/app/DoctrineMigrations/Version20170510082609.php b/app/DoctrineMigrations/Version20170510082609.php index 541ae1fd..ddc894a6 100644 --- a/app/DoctrineMigrations/Version20170510082609.php +++ b/app/DoctrineMigrations/Version20170510082609.php | |||
@@ -17,9 +17,6 @@ class Version20170510082609 extends WallabagMigration | |||
17 | 'email_canonical', | 17 | 'email_canonical', |
18 | ]; | 18 | ]; |
19 | 19 | ||
20 | /** | ||
21 | * @param Schema $schema | ||
22 | */ | ||
23 | public function up(Schema $schema) | 20 | public function up(Schema $schema) |
24 | { | 21 | { |
25 | $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration only apply to MySQL'); | 22 | $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration only apply to MySQL'); |
@@ -29,9 +26,6 @@ class Version20170510082609 extends WallabagMigration | |||
29 | } | 26 | } |
30 | } | 27 | } |
31 | 28 | ||
32 | /** | ||
33 | * @param Schema $schema | ||
34 | */ | ||
35 | public function down(Schema $schema) | 29 | public function down(Schema $schema) |
36 | { | 30 | { |
37 | $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration only apply to MySQL'); | 31 | $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration only apply to MySQL'); |
diff --git a/app/DoctrineMigrations/Version20170511115400.php b/app/DoctrineMigrations/Version20170511115400.php index cb80dd45..9a89cfb8 100644 --- a/app/DoctrineMigrations/Version20170511115400.php +++ b/app/DoctrineMigrations/Version20170511115400.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20170511115400 extends WallabagMigration | 11 | class Version20170511115400 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $entryTable = $schema->getTable($this->getTable('entry')); | 15 | $entryTable = $schema->getTable($this->getTable('entry')); |
@@ -24,9 +21,6 @@ class Version20170511115400 extends WallabagMigration | |||
24 | ]); | 21 | ]); |
25 | } | 22 | } |
26 | 23 | ||
27 | /** | ||
28 | * @param Schema $schema | ||
29 | */ | ||
30 | public function down(Schema $schema) | 24 | public function down(Schema $schema) |
31 | { | 25 | { |
32 | $entryTable = $schema->getTable($this->getTable('entry')); | 26 | $entryTable = $schema->getTable($this->getTable('entry')); |
diff --git a/app/DoctrineMigrations/Version20170602075214.php b/app/DoctrineMigrations/Version20170602075214.php index 12997c71..f72839b2 100644 --- a/app/DoctrineMigrations/Version20170602075214.php +++ b/app/DoctrineMigrations/Version20170602075214.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20170602075214 extends WallabagMigration | 11 | class Version20170602075214 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $apiUserRegistration = $this->container | 15 | $apiUserRegistration = $this->container |
@@ -25,9 +22,6 @@ class Version20170602075214 extends WallabagMigration | |||
25 | $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('api_user_registration', '0', 'api')"); | 22 | $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('api_user_registration', '0', 'api')"); |
26 | } | 23 | } |
27 | 24 | ||
28 | /** | ||
29 | * @param Schema $schema | ||
30 | */ | ||
31 | public function down(Schema $schema) | 25 | public function down(Schema $schema) |
32 | { | 26 | { |
33 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'api_user_registration';"); | 27 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'api_user_registration';"); |
diff --git a/app/DoctrineMigrations/Version20170606155640.php b/app/DoctrineMigrations/Version20170606155640.php index 153d31b8..099e5329 100644 --- a/app/DoctrineMigrations/Version20170606155640.php +++ b/app/DoctrineMigrations/Version20170606155640.php | |||
@@ -11,9 +11,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
11 | */ | 11 | */ |
12 | class Version20170606155640 extends WallabagMigration | 12 | class Version20170606155640 extends WallabagMigration |
13 | { | 13 | { |
14 | /** | ||
15 | * @param Schema $schema | ||
16 | */ | ||
17 | public function up(Schema $schema) | 14 | public function up(Schema $schema) |
18 | { | 15 | { |
19 | $apiUserRegistration = $this->container | 16 | $apiUserRegistration = $this->container |
@@ -26,9 +23,6 @@ class Version20170606155640 extends WallabagMigration | |||
26 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'wallabag_url'"); | 23 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'wallabag_url'"); |
27 | } | 24 | } |
28 | 25 | ||
29 | /** | ||
30 | * @param Schema $schema | ||
31 | */ | ||
32 | public function down(Schema $schema) | 26 | public function down(Schema $schema) |
33 | { | 27 | { |
34 | $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('wallabag_url', 'wallabag.me', 'misc')"); | 28 | $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('wallabag_url', 'wallabag.me', 'misc')"); |
diff --git a/app/DoctrineMigrations/Version20170719231144.php b/app/DoctrineMigrations/Version20170719231144.php index 93fe7f26..7a9731d4 100644 --- a/app/DoctrineMigrations/Version20170719231144.php +++ b/app/DoctrineMigrations/Version20170719231144.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20170719231144 extends WallabagMigration | 11 | class Version20170719231144 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $this->skipIf('sqlite' === $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\' or \'postgresql\'.'); | 15 | $this->skipIf('sqlite' === $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\' or \'postgresql\'.'); |
@@ -89,9 +86,6 @@ class Version20170719231144 extends WallabagMigration | |||
89 | ); | 86 | ); |
90 | } | 87 | } |
91 | 88 | ||
92 | /** | ||
93 | * @param Schema $schema | ||
94 | */ | ||
95 | public function down(Schema $schema) | 89 | public function down(Schema $schema) |
96 | { | 90 | { |
97 | throw new SkipMigrationException('Too complex ...'); | 91 | throw new SkipMigrationException('Too complex ...'); |
diff --git a/app/DoctrineMigrations/Version20170824113337.php b/app/DoctrineMigrations/Version20170824113337.php index 5fc31de9..dc20f6d9 100644 --- a/app/DoctrineMigrations/Version20170824113337.php +++ b/app/DoctrineMigrations/Version20170824113337.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20170824113337 extends WallabagMigration | 11 | class Version20170824113337 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $entryTable = $schema->getTable($this->getTable('entry')); | 15 | $entryTable = $schema->getTable($this->getTable('entry')); |
@@ -37,9 +34,6 @@ class Version20170824113337 extends WallabagMigration | |||
37 | ); | 34 | ); |
38 | } | 35 | } |
39 | 36 | ||
40 | /** | ||
41 | * @param Schema $schema | ||
42 | */ | ||
43 | public function down(Schema $schema) | 37 | public function down(Schema $schema) |
44 | { | 38 | { |
45 | $entryTable = $schema->getTable($this->getTable('entry')); | 39 | $entryTable = $schema->getTable($this->getTable('entry')); |
diff --git a/app/DoctrineMigrations/Version20171008195606.php b/app/DoctrineMigrations/Version20171008195606.php index 6974232a..60d8777f 100644 --- a/app/DoctrineMigrations/Version20171008195606.php +++ b/app/DoctrineMigrations/Version20171008195606.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20171008195606 extends WallabagMigration | 11 | class Version20171008195606 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $this->skipIf('sqlite' === $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\' or \'postgresql\'.'); | 15 | $this->skipIf('sqlite' === $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\' or \'postgresql\'.'); |
@@ -29,9 +26,6 @@ class Version20171008195606 extends WallabagMigration | |||
29 | } | 26 | } |
30 | } | 27 | } |
31 | 28 | ||
32 | /** | ||
33 | * @param Schema $schema | ||
34 | */ | ||
35 | public function down(Schema $schema) | 29 | public function down(Schema $schema) |
36 | { | 30 | { |
37 | $this->skipIf('sqlite' === $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\' or \'postgresql\'.'); | 31 | $this->skipIf('sqlite' === $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'mysql\' or \'postgresql\'.'); |
diff --git a/app/DoctrineMigrations/Version20171105202000.php b/app/DoctrineMigrations/Version20171105202000.php index 5ed787b9..5313a336 100644 --- a/app/DoctrineMigrations/Version20171105202000.php +++ b/app/DoctrineMigrations/Version20171105202000.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20171105202000 extends WallabagMigration | 11 | class Version20171105202000 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $entryTable = $schema->getTable($this->getTable('entry')); | 15 | $entryTable = $schema->getTable($this->getTable('entry')); |
@@ -24,9 +21,6 @@ class Version20171105202000 extends WallabagMigration | |||
24 | ]); | 21 | ]); |
25 | } | 22 | } |
26 | 23 | ||
27 | /** | ||
28 | * @param Schema $schema | ||
29 | */ | ||
30 | public function down(Schema $schema) | 24 | public function down(Schema $schema) |
31 | { | 25 | { |
32 | $entryTable = $schema->getTable($this->getTable('entry')); | 26 | $entryTable = $schema->getTable($this->getTable('entry')); |
diff --git a/app/DoctrineMigrations/Version20171120163128.php b/app/DoctrineMigrations/Version20171120163128.php index 48f10f1d..a6d126a5 100644 --- a/app/DoctrineMigrations/Version20171120163128.php +++ b/app/DoctrineMigrations/Version20171120163128.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20171120163128 extends WallabagMigration | 11 | class Version20171120163128 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $storeArticleHeaders = $this->container | 15 | $storeArticleHeaders = $this->container |
@@ -25,9 +22,6 @@ class Version20171120163128 extends WallabagMigration | |||
25 | $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('store_article_headers', '0', 'entry')"); | 22 | $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('store_article_headers', '0', 'entry')"); |
26 | } | 23 | } |
27 | 24 | ||
28 | /** | ||
29 | * @param Schema $schema | ||
30 | */ | ||
31 | public function down(Schema $schema) | 25 | public function down(Schema $schema) |
32 | { | 26 | { |
33 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'store_article_headers';"); | 27 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'store_article_headers';"); |
diff --git a/app/DoctrineMigrations/Version20171125164500.php b/app/DoctrineMigrations/Version20171125164500.php index a72463f0..2ee49d87 100644 --- a/app/DoctrineMigrations/Version20171125164500.php +++ b/app/DoctrineMigrations/Version20171125164500.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20171125164500 extends WallabagMigration | 11 | class Version20171125164500 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $shaarliShareOriginUrl = $this->container | 15 | $shaarliShareOriginUrl = $this->container |
@@ -25,9 +22,6 @@ class Version20171125164500 extends WallabagMigration | |||
25 | $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('shaarli_share_origin_url', '0', 'entry')"); | 22 | $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('shaarli_share_origin_url', '0', 'entry')"); |
26 | } | 23 | } |
27 | 24 | ||
28 | /** | ||
29 | * @param Schema $schema | ||
30 | */ | ||
31 | public function down(Schema $schema) | 25 | public function down(Schema $schema) |
32 | { | 26 | { |
33 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'shaarli_share_origin_url';"); | 27 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'shaarli_share_origin_url';"); |
diff --git a/app/DoctrineMigrations/Version20180405182455.php b/app/DoctrineMigrations/Version20180405182455.php index 50fe97c7..1b8c3b0e 100755 --- a/app/DoctrineMigrations/Version20180405182455.php +++ b/app/DoctrineMigrations/Version20180405182455.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20180405182455 extends WallabagMigration | 11 | class Version20180405182455 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $entryTable = $schema->getTable($this->getTable('entry')); | 15 | $entryTable = $schema->getTable($this->getTable('entry')); |
@@ -37,9 +34,6 @@ class Version20180405182455 extends WallabagMigration | |||
37 | ); | 34 | ); |
38 | } | 35 | } |
39 | 36 | ||
40 | /** | ||
41 | * @param Schema $schema | ||
42 | */ | ||
43 | public function down(Schema $schema) | 37 | public function down(Schema $schema) |
44 | { | 38 | { |
45 | $entryTable = $schema->getTable($this->getTable('entry')); | 39 | $entryTable = $schema->getTable($this->getTable('entry')); |
diff --git a/app/DoctrineMigrations/Version20181128203230.php b/app/DoctrineMigrations/Version20181128203230.php index d1b09fc7..add161cd 100644 --- a/app/DoctrineMigrations/Version20181128203230.php +++ b/app/DoctrineMigrations/Version20181128203230.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20181128203230 extends WallabagMigration | 11 | class Version20181128203230 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration can only be applied on \'mysql\'.'); | 15 | $this->skipIf('mysql' !== $this->connection->getDatabasePlatform()->getName(), 'This migration can only be applied on \'mysql\'.'); |
diff --git a/app/DoctrineMigrations/Version20190129120000.php b/app/DoctrineMigrations/Version20190129120000.php index 3632e762..8c5e28ca 100644 --- a/app/DoctrineMigrations/Version20190129120000.php +++ b/app/DoctrineMigrations/Version20190129120000.php | |||
@@ -118,9 +118,6 @@ final class Version20190129120000 extends WallabagMigration | |||
118 | ], | 118 | ], |
119 | ]; | 119 | ]; |
120 | 120 | ||
121 | /** | ||
122 | * @param Schema $schema | ||
123 | */ | ||
124 | public function up(Schema $schema) | 121 | public function up(Schema $schema) |
125 | { | 122 | { |
126 | foreach ($this->settings as $setting) { | 123 | foreach ($this->settings as $setting) { |
@@ -137,9 +134,6 @@ final class Version20190129120000 extends WallabagMigration | |||
137 | } | 134 | } |
138 | } | 135 | } |
139 | 136 | ||
140 | /** | ||
141 | * @param Schema $schema | ||
142 | */ | ||
143 | public function down(Schema $schema) | 137 | public function down(Schema $schema) |
144 | { | 138 | { |
145 | $this->skipIf(true, 'These settings are required and should not be removed.'); | 139 | $this->skipIf(true, 'These settings are required and should not be removed.'); |
diff --git a/app/DoctrineMigrations/Version20190401105353.php b/app/DoctrineMigrations/Version20190401105353.php index d27962db..600fc162 100644 --- a/app/DoctrineMigrations/Version20190401105353.php +++ b/app/DoctrineMigrations/Version20190401105353.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20190401105353 extends WallabagMigration | 11 | class Version20190401105353 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $entryTable = $schema->getTable($this->getTable('entry')); | 15 | $entryTable = $schema->getTable($this->getTable('entry')); |
@@ -27,9 +24,6 @@ class Version20190401105353 extends WallabagMigration | |||
27 | $entryTable->addIndex(['user_id', 'hashed_url'], 'hashed_url_user_id', [], ['lengths' => [null, 40]]); | 24 | $entryTable->addIndex(['user_id', 'hashed_url'], 'hashed_url_user_id', [], ['lengths' => [null, 40]]); |
28 | } | 25 | } |
29 | 26 | ||
30 | /** | ||
31 | * @param Schema $schema | ||
32 | */ | ||
33 | public function down(Schema $schema) | 27 | public function down(Schema $schema) |
34 | { | 28 | { |
35 | $entryTable = $schema->getTable($this->getTable('entry')); | 29 | $entryTable = $schema->getTable($this->getTable('entry')); |
diff --git a/app/DoctrineMigrations/Version20190601125843.php b/app/DoctrineMigrations/Version20190601125843.php index 0e97606e..cbb92edc 100644 --- a/app/DoctrineMigrations/Version20190601125843.php +++ b/app/DoctrineMigrations/Version20190601125843.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20190601125843 extends WallabagMigration | 11 | class Version20190601125843 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $entryTable = $schema->getTable($this->getTable('entry')); | 15 | $entryTable = $schema->getTable($this->getTable('entry')); |
@@ -34,9 +31,6 @@ class Version20190601125843 extends WallabagMigration | |||
34 | $entryTable->addIndex(['user_id', 'hashed_given_url'], 'hashed_given_url_user_id', [], ['lengths' => [null, 40]]); | 31 | $entryTable->addIndex(['user_id', 'hashed_given_url'], 'hashed_given_url_user_id', [], ['lengths' => [null, 40]]); |
35 | } | 32 | } |
36 | 33 | ||
37 | /** | ||
38 | * @param Schema $schema | ||
39 | */ | ||
40 | public function down(Schema $schema) | 34 | public function down(Schema $schema) |
41 | { | 35 | { |
42 | $entryTable = $schema->getTable($this->getTable('entry')); | 36 | $entryTable = $schema->getTable($this->getTable('entry')); |
diff --git a/composer.json b/composer.json index e7fc256a..0ce9622f 100644 --- a/composer.json +++ b/composer.json | |||
@@ -51,6 +51,7 @@ | |||
51 | "doctrine/orm": "^2.6", | 51 | "doctrine/orm": "^2.6", |
52 | "doctrine/doctrine-bundle": "^1.9", | 52 | "doctrine/doctrine-bundle": "^1.9", |
53 | "doctrine/doctrine-cache-bundle": "^1.3", | 53 | "doctrine/doctrine-cache-bundle": "^1.3", |
54 | "doctrine/dbal": "2.9.2", | ||
54 | "twig/extensions": "^1.5", | 55 | "twig/extensions": "^1.5", |
55 | "symfony/swiftmailer-bundle": "^3.2", | 56 | "symfony/swiftmailer-bundle": "^3.2", |
56 | "symfony/monolog-bundle": "^3.1", | 57 | "symfony/monolog-bundle": "^3.1", |
diff --git a/composer.lock b/composer.lock index d72a3f62..7f3cacef 100644 --- a/composer.lock +++ b/composer.lock | |||
@@ -4,7 +4,7 @@ | |||
4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", | 4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", |
5 | "This file is @generated automatically" | 5 | "This file is @generated automatically" |
6 | ], | 6 | ], |
7 | "content-hash": "02ec26b02dc55d65cb9353ad99be7ebe", | 7 | "content-hash": "bc03955d5e8ea3079c82f32de2e26c98", |
8 | "packages": [ | 8 | "packages": [ |
9 | { | 9 | { |
10 | "name": "bdunogier/guzzle-site-authenticator", | 10 | "name": "bdunogier/guzzle-site-authenticator", |
@@ -412,16 +412,16 @@ | |||
412 | }, | 412 | }, |
413 | { | 413 | { |
414 | "name": "doctrine/cache", | 414 | "name": "doctrine/cache", |
415 | "version": "v1.8.1", | 415 | "version": "1.9.0", |
416 | "source": { | 416 | "source": { |
417 | "type": "git", | 417 | "type": "git", |
418 | "url": "https://github.com/doctrine/cache.git", | 418 | "url": "https://github.com/doctrine/cache.git", |
419 | "reference": "d4374ae95b36062d02ef310100ed33d78738d76c" | 419 | "reference": "c15dcd24b756f9e52ea7c3ae8227354f3628f11a" |
420 | }, | 420 | }, |
421 | "dist": { | 421 | "dist": { |
422 | "type": "zip", | 422 | "type": "zip", |
423 | "url": "https://api.github.com/repos/doctrine/cache/zipball/d4374ae95b36062d02ef310100ed33d78738d76c", | 423 | "url": "https://api.github.com/repos/doctrine/cache/zipball/c15dcd24b756f9e52ea7c3ae8227354f3628f11a", |
424 | "reference": "d4374ae95b36062d02ef310100ed33d78738d76c", | 424 | "reference": "c15dcd24b756f9e52ea7c3ae8227354f3628f11a", |
425 | "shasum": "" | 425 | "shasum": "" |
426 | }, | 426 | }, |
427 | "require": { | 427 | "require": { |
@@ -432,7 +432,7 @@ | |||
432 | }, | 432 | }, |
433 | "require-dev": { | 433 | "require-dev": { |
434 | "alcaeus/mongo-php-adapter": "^1.1", | 434 | "alcaeus/mongo-php-adapter": "^1.1", |
435 | "doctrine/coding-standard": "^4.0", | 435 | "doctrine/coding-standard": "^6.0", |
436 | "mongodb/mongodb": "^1.1", | 436 | "mongodb/mongodb": "^1.1", |
437 | "phpunit/phpunit": "^7.0", | 437 | "phpunit/phpunit": "^7.0", |
438 | "predis/predis": "~1.0" | 438 | "predis/predis": "~1.0" |
@@ -443,7 +443,7 @@ | |||
443 | "type": "library", | 443 | "type": "library", |
444 | "extra": { | 444 | "extra": { |
445 | "branch-alias": { | 445 | "branch-alias": { |
446 | "dev-master": "1.8.x-dev" | 446 | "dev-master": "1.9.x-dev" |
447 | } | 447 | } |
448 | }, | 448 | }, |
449 | "autoload": { | 449 | "autoload": { |
@@ -477,26 +477,34 @@ | |||
477 | "email": "schmittjoh@gmail.com" | 477 | "email": "schmittjoh@gmail.com" |
478 | } | 478 | } |
479 | ], | 479 | ], |
480 | "description": "Caching library offering an object-oriented API for many cache backends", | 480 | "description": "PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, apc, mongodb and others.", |
481 | "homepage": "https://www.doctrine-project.org", | 481 | "homepage": "https://www.doctrine-project.org/projects/cache.html", |
482 | "keywords": [ | 482 | "keywords": [ |
483 | "abstraction", | ||
484 | "apcu", | ||
483 | "cache", | 485 | "cache", |
484 | "caching" | 486 | "caching", |
487 | "couchdb", | ||
488 | "memcached", | ||
489 | "php", | ||
490 | "redis", | ||
491 | "riak", | ||
492 | "xcache" | ||
485 | ], | 493 | ], |
486 | "time": "2019-10-28T09:31:32+00:00" | 494 | "time": "2019-11-11T10:31:52+00:00" |
487 | }, | 495 | }, |
488 | { | 496 | { |
489 | "name": "doctrine/collections", | 497 | "name": "doctrine/collections", |
490 | "version": "v1.6.2", | 498 | "version": "1.6.3", |
491 | "source": { | 499 | "source": { |
492 | "type": "git", | 500 | "type": "git", |
493 | "url": "https://github.com/doctrine/collections.git", | 501 | "url": "https://github.com/doctrine/collections.git", |
494 | "reference": "c5e0bc17b1620e97c968ac409acbff28b8b850be" | 502 | "reference": "037ccc5b1c249275f8f6bb48e35f140fd52fd577" |
495 | }, | 503 | }, |
496 | "dist": { | 504 | "dist": { |
497 | "type": "zip", | 505 | "type": "zip", |
498 | "url": "https://api.github.com/repos/doctrine/collections/zipball/c5e0bc17b1620e97c968ac409acbff28b8b850be", | 506 | "url": "https://api.github.com/repos/doctrine/collections/zipball/037ccc5b1c249275f8f6bb48e35f140fd52fd577", |
499 | "reference": "c5e0bc17b1620e97c968ac409acbff28b8b850be", | 507 | "reference": "037ccc5b1c249275f8f6bb48e35f140fd52fd577", |
500 | "shasum": "" | 508 | "shasum": "" |
501 | }, | 509 | }, |
502 | "require": { | 510 | "require": { |
@@ -525,6 +533,10 @@ | |||
525 | ], | 533 | ], |
526 | "authors": [ | 534 | "authors": [ |
527 | { | 535 | { |
536 | "name": "Guilherme Blanco", | ||
537 | "email": "guilhermeblanco@gmail.com" | ||
538 | }, | ||
539 | { | ||
528 | "name": "Roman Borschel", | 540 | "name": "Roman Borschel", |
529 | "email": "roman@code-factory.org" | 541 | "email": "roman@code-factory.org" |
530 | }, | 542 | }, |
@@ -533,10 +545,6 @@ | |||
533 | "email": "kontakt@beberlei.de" | 545 | "email": "kontakt@beberlei.de" |
534 | }, | 546 | }, |
535 | { | 547 | { |
536 | "name": "Guilherme Blanco", | ||
537 | "email": "guilhermeblanco@gmail.com" | ||
538 | }, | ||
539 | { | ||
540 | "name": "Jonathan Wage", | 548 | "name": "Jonathan Wage", |
541 | "email": "jonwage@gmail.com" | 549 | "email": "jonwage@gmail.com" |
542 | }, | 550 | }, |
@@ -553,7 +561,7 @@ | |||
553 | "iterators", | 561 | "iterators", |
554 | "php" | 562 | "php" |
555 | ], | 563 | ], |
556 | "time": "2019-06-09T13:48:14+00:00" | 564 | "time": "2019-11-04T15:26:07+00:00" |
557 | }, | 565 | }, |
558 | { | 566 | { |
559 | "name": "doctrine/common", | 567 | "name": "doctrine/common", |
@@ -963,16 +971,16 @@ | |||
963 | }, | 971 | }, |
964 | { | 972 | { |
965 | "name": "doctrine/event-manager", | 973 | "name": "doctrine/event-manager", |
966 | "version": "v1.0.0", | 974 | "version": "1.1.0", |
967 | "source": { | 975 | "source": { |
968 | "type": "git", | 976 | "type": "git", |
969 | "url": "https://github.com/doctrine/event-manager.git", | 977 | "url": "https://github.com/doctrine/event-manager.git", |
970 | "reference": "a520bc093a0170feeb6b14e9d83f3a14452e64b3" | 978 | "reference": "629572819973f13486371cb611386eb17851e85c" |
971 | }, | 979 | }, |
972 | "dist": { | 980 | "dist": { |
973 | "type": "zip", | 981 | "type": "zip", |
974 | "url": "https://api.github.com/repos/doctrine/event-manager/zipball/a520bc093a0170feeb6b14e9d83f3a14452e64b3", | 982 | "url": "https://api.github.com/repos/doctrine/event-manager/zipball/629572819973f13486371cb611386eb17851e85c", |
975 | "reference": "a520bc093a0170feeb6b14e9d83f3a14452e64b3", | 983 | "reference": "629572819973f13486371cb611386eb17851e85c", |
976 | "shasum": "" | 984 | "shasum": "" |
977 | }, | 985 | }, |
978 | "require": { | 986 | "require": { |
@@ -982,7 +990,7 @@ | |||
982 | "doctrine/common": "<2.9@dev" | 990 | "doctrine/common": "<2.9@dev" |
983 | }, | 991 | }, |
984 | "require-dev": { | 992 | "require-dev": { |
985 | "doctrine/coding-standard": "^4.0", | 993 | "doctrine/coding-standard": "^6.0", |
986 | "phpunit/phpunit": "^7.0" | 994 | "phpunit/phpunit": "^7.0" |
987 | }, | 995 | }, |
988 | "type": "library", | 996 | "type": "library", |
@@ -1002,6 +1010,10 @@ | |||
1002 | ], | 1010 | ], |
1003 | "authors": [ | 1011 | "authors": [ |
1004 | { | 1012 | { |
1013 | "name": "Guilherme Blanco", | ||
1014 | "email": "guilhermeblanco@gmail.com" | ||
1015 | }, | ||
1016 | { | ||
1005 | "name": "Roman Borschel", | 1017 | "name": "Roman Borschel", |
1006 | "email": "roman@code-factory.org" | 1018 | "email": "roman@code-factory.org" |
1007 | }, | 1019 | }, |
@@ -1010,10 +1022,6 @@ | |||
1010 | "email": "kontakt@beberlei.de" | 1022 | "email": "kontakt@beberlei.de" |
1011 | }, | 1023 | }, |
1012 | { | 1024 | { |
1013 | "name": "Guilherme Blanco", | ||
1014 | "email": "guilhermeblanco@gmail.com" | ||
1015 | }, | ||
1016 | { | ||
1017 | "name": "Jonathan Wage", | 1025 | "name": "Jonathan Wage", |
1018 | "email": "jonwage@gmail.com" | 1026 | "email": "jonwage@gmail.com" |
1019 | }, | 1027 | }, |
@@ -1026,27 +1034,29 @@ | |||
1026 | "email": "ocramius@gmail.com" | 1034 | "email": "ocramius@gmail.com" |
1027 | } | 1035 | } |
1028 | ], | 1036 | ], |
1029 | "description": "Doctrine Event Manager component", | 1037 | "description": "The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.", |
1030 | "homepage": "https://www.doctrine-project.org/projects/event-manager.html", | 1038 | "homepage": "https://www.doctrine-project.org/projects/event-manager.html", |
1031 | "keywords": [ | 1039 | "keywords": [ |
1032 | "event", | 1040 | "event", |
1033 | "eventdispatcher", | 1041 | "event dispatcher", |
1034 | "eventmanager" | 1042 | "event manager", |
1043 | "event system", | ||
1044 | "events" | ||
1035 | ], | 1045 | ], |
1036 | "time": "2018-06-11T11:59:03+00:00" | 1046 | "time": "2019-11-10T09:48:07+00:00" |
1037 | }, | 1047 | }, |
1038 | { | 1048 | { |
1039 | "name": "doctrine/inflector", | 1049 | "name": "doctrine/inflector", |
1040 | "version": "v1.3.0", | 1050 | "version": "1.3.1", |
1041 | "source": { | 1051 | "source": { |
1042 | "type": "git", | 1052 | "type": "git", |
1043 | "url": "https://github.com/doctrine/inflector.git", | 1053 | "url": "https://github.com/doctrine/inflector.git", |
1044 | "reference": "5527a48b7313d15261292c149e55e26eae771b0a" | 1054 | "reference": "ec3a55242203ffa6a4b27c58176da97ff0a7aec1" |
1045 | }, | 1055 | }, |
1046 | "dist": { | 1056 | "dist": { |
1047 | "type": "zip", | 1057 | "type": "zip", |
1048 | "url": "https://api.github.com/repos/doctrine/inflector/zipball/5527a48b7313d15261292c149e55e26eae771b0a", | 1058 | "url": "https://api.github.com/repos/doctrine/inflector/zipball/ec3a55242203ffa6a4b27c58176da97ff0a7aec1", |
1049 | "reference": "5527a48b7313d15261292c149e55e26eae771b0a", | 1059 | "reference": "ec3a55242203ffa6a4b27c58176da97ff0a7aec1", |
1050 | "shasum": "" | 1060 | "shasum": "" |
1051 | }, | 1061 | }, |
1052 | "require": { | 1062 | "require": { |
@@ -1072,6 +1082,10 @@ | |||
1072 | ], | 1082 | ], |
1073 | "authors": [ | 1083 | "authors": [ |
1074 | { | 1084 | { |
1085 | "name": "Guilherme Blanco", | ||
1086 | "email": "guilhermeblanco@gmail.com" | ||
1087 | }, | ||
1088 | { | ||
1075 | "name": "Roman Borschel", | 1089 | "name": "Roman Borschel", |
1076 | "email": "roman@code-factory.org" | 1090 | "email": "roman@code-factory.org" |
1077 | }, | 1091 | }, |
@@ -1080,10 +1094,6 @@ | |||
1080 | "email": "kontakt@beberlei.de" | 1094 | "email": "kontakt@beberlei.de" |
1081 | }, | 1095 | }, |
1082 | { | 1096 | { |
1083 | "name": "Guilherme Blanco", | ||
1084 | "email": "guilhermeblanco@gmail.com" | ||
1085 | }, | ||
1086 | { | ||
1087 | "name": "Jonathan Wage", | 1097 | "name": "Jonathan Wage", |
1088 | "email": "jonwage@gmail.com" | 1098 | "email": "jonwage@gmail.com" |
1089 | }, | 1099 | }, |
@@ -1100,20 +1110,20 @@ | |||
1100 | "singularize", | 1110 | "singularize", |
1101 | "string" | 1111 | "string" |
1102 | ], | 1112 | ], |
1103 | "time": "2018-01-09T20:05:19+00:00" | 1113 | "time": "2019-10-30T19:59:35+00:00" |
1104 | }, | 1114 | }, |
1105 | { | 1115 | { |
1106 | "name": "doctrine/instantiator", | 1116 | "name": "doctrine/instantiator", |
1107 | "version": "1.2.0", | 1117 | "version": "1.3.0", |
1108 | "source": { | 1118 | "source": { |
1109 | "type": "git", | 1119 | "type": "git", |
1110 | "url": "https://github.com/doctrine/instantiator.git", | 1120 | "url": "https://github.com/doctrine/instantiator.git", |
1111 | "reference": "a2c590166b2133a4633738648b6b064edae0814a" | 1121 | "reference": "ae466f726242e637cebdd526a7d991b9433bacf1" |
1112 | }, | 1122 | }, |
1113 | "dist": { | 1123 | "dist": { |
1114 | "type": "zip", | 1124 | "type": "zip", |
1115 | "url": "https://api.github.com/repos/doctrine/instantiator/zipball/a2c590166b2133a4633738648b6b064edae0814a", | 1125 | "url": "https://api.github.com/repos/doctrine/instantiator/zipball/ae466f726242e637cebdd526a7d991b9433bacf1", |
1116 | "reference": "a2c590166b2133a4633738648b6b064edae0814a", | 1126 | "reference": "ae466f726242e637cebdd526a7d991b9433bacf1", |
1117 | "shasum": "" | 1127 | "shasum": "" |
1118 | }, | 1128 | }, |
1119 | "require": { | 1129 | "require": { |
@@ -1156,7 +1166,7 @@ | |||
1156 | "constructor", | 1166 | "constructor", |
1157 | "instantiate" | 1167 | "instantiate" |
1158 | ], | 1168 | ], |
1159 | "time": "2019-03-17T17:37:11+00:00" | 1169 | "time": "2019-10-21T16:45:58+00:00" |
1160 | }, | 1170 | }, |
1161 | { | 1171 | { |
1162 | "name": "doctrine/lexer", | 1172 | "name": "doctrine/lexer", |
@@ -1375,16 +1385,16 @@ | |||
1375 | }, | 1385 | }, |
1376 | { | 1386 | { |
1377 | "name": "doctrine/persistence", | 1387 | "name": "doctrine/persistence", |
1378 | "version": "1.1.1", | 1388 | "version": "1.2.0", |
1379 | "source": { | 1389 | "source": { |
1380 | "type": "git", | 1390 | "type": "git", |
1381 | "url": "https://github.com/doctrine/persistence.git", | 1391 | "url": "https://github.com/doctrine/persistence.git", |
1382 | "reference": "3da7c9d125591ca83944f477e65ed3d7b4617c48" | 1392 | "reference": "43526ae63312942e5316100bb3ed589ba1aba491" |
1383 | }, | 1393 | }, |
1384 | "dist": { | 1394 | "dist": { |
1385 | "type": "zip", | 1395 | "type": "zip", |
1386 | "url": "https://api.github.com/repos/doctrine/persistence/zipball/3da7c9d125591ca83944f477e65ed3d7b4617c48", | 1396 | "url": "https://api.github.com/repos/doctrine/persistence/zipball/43526ae63312942e5316100bb3ed589ba1aba491", |
1387 | "reference": "3da7c9d125591ca83944f477e65ed3d7b4617c48", | 1397 | "reference": "43526ae63312942e5316100bb3ed589ba1aba491", |
1388 | "shasum": "" | 1398 | "shasum": "" |
1389 | }, | 1399 | }, |
1390 | "require": { | 1400 | "require": { |
@@ -1406,7 +1416,7 @@ | |||
1406 | "type": "library", | 1416 | "type": "library", |
1407 | "extra": { | 1417 | "extra": { |
1408 | "branch-alias": { | 1418 | "branch-alias": { |
1409 | "dev-master": "1.1.x-dev" | 1419 | "dev-master": "1.2.x-dev" |
1410 | } | 1420 | } |
1411 | }, | 1421 | }, |
1412 | "autoload": { | 1422 | "autoload": { |
@@ -1420,6 +1430,10 @@ | |||
1420 | ], | 1430 | ], |
1421 | "authors": [ | 1431 | "authors": [ |
1422 | { | 1432 | { |
1433 | "name": "Guilherme Blanco", | ||
1434 | "email": "guilhermeblanco@gmail.com" | ||
1435 | }, | ||
1436 | { | ||
1423 | "name": "Roman Borschel", | 1437 | "name": "Roman Borschel", |
1424 | "email": "roman@code-factory.org" | 1438 | "email": "roman@code-factory.org" |
1425 | }, | 1439 | }, |
@@ -1428,10 +1442,6 @@ | |||
1428 | "email": "kontakt@beberlei.de" | 1442 | "email": "kontakt@beberlei.de" |
1429 | }, | 1443 | }, |
1430 | { | 1444 | { |
1431 | "name": "Guilherme Blanco", | ||
1432 | "email": "guilhermeblanco@gmail.com" | ||
1433 | }, | ||
1434 | { | ||
1435 | "name": "Jonathan Wage", | 1445 | "name": "Jonathan Wage", |
1436 | "email": "jonwage@gmail.com" | 1446 | "email": "jonwage@gmail.com" |
1437 | }, | 1447 | }, |
@@ -1453,7 +1463,7 @@ | |||
1453 | "orm", | 1463 | "orm", |
1454 | "persistence" | 1464 | "persistence" |
1455 | ], | 1465 | ], |
1456 | "time": "2019-04-23T08:28:24+00:00" | 1466 | "time": "2019-04-23T12:39:21+00:00" |
1457 | }, | 1467 | }, |
1458 | { | 1468 | { |
1459 | "name": "doctrine/reflection", | 1469 | "name": "doctrine/reflection", |
@@ -3712,16 +3722,16 @@ | |||
3712 | }, | 3722 | }, |
3713 | { | 3723 | { |
3714 | "name": "j0k3r/graby", | 3724 | "name": "j0k3r/graby", |
3715 | "version": "2.0.2", | 3725 | "version": "2.1.0", |
3716 | "source": { | 3726 | "source": { |
3717 | "type": "git", | 3727 | "type": "git", |
3718 | "url": "https://github.com/j0k3r/graby.git", | 3728 | "url": "https://github.com/j0k3r/graby.git", |
3719 | "reference": "5ed35e8959be03cb36335605a70e05571eb8157a" | 3729 | "reference": "8dcacf79bd2bc18438dc3c93cdee1fa59f9a848b" |
3720 | }, | 3730 | }, |
3721 | "dist": { | 3731 | "dist": { |
3722 | "type": "zip", | 3732 | "type": "zip", |
3723 | "url": "https://api.github.com/repos/j0k3r/graby/zipball/5ed35e8959be03cb36335605a70e05571eb8157a", | 3733 | "url": "https://api.github.com/repos/j0k3r/graby/zipball/8dcacf79bd2bc18438dc3c93cdee1fa59f9a848b", |
3724 | "reference": "5ed35e8959be03cb36335605a70e05571eb8157a", | 3734 | "reference": "8dcacf79bd2bc18438dc3c93cdee1fa59f9a848b", |
3725 | "shasum": "" | 3735 | "shasum": "" |
3726 | }, | 3736 | }, |
3727 | "require": { | 3737 | "require": { |
@@ -3782,20 +3792,20 @@ | |||
3782 | } | 3792 | } |
3783 | ], | 3793 | ], |
3784 | "description": "Graby helps you extract article content from web pages", | 3794 | "description": "Graby helps you extract article content from web pages", |
3785 | "time": "2019-07-22T07:05:28+00:00" | 3795 | "time": "2019-11-12T13:10:23+00:00" |
3786 | }, | 3796 | }, |
3787 | { | 3797 | { |
3788 | "name": "j0k3r/graby-site-config", | 3798 | "name": "j0k3r/graby-site-config", |
3789 | "version": "1.0.93", | 3799 | "version": "1.0.94", |
3790 | "source": { | 3800 | "source": { |
3791 | "type": "git", | 3801 | "type": "git", |
3792 | "url": "https://github.com/j0k3r/graby-site-config.git", | 3802 | "url": "https://github.com/j0k3r/graby-site-config.git", |
3793 | "reference": "018ebc5ccd8e631243fcc515fb05b39bac423b31" | 3803 | "reference": "429ee12aa7d9dd95596b15ec0889bd7202d5723a" |
3794 | }, | 3804 | }, |
3795 | "dist": { | 3805 | "dist": { |
3796 | "type": "zip", | 3806 | "type": "zip", |
3797 | "url": "https://api.github.com/repos/j0k3r/graby-site-config/zipball/018ebc5ccd8e631243fcc515fb05b39bac423b31", | 3807 | "url": "https://api.github.com/repos/j0k3r/graby-site-config/zipball/429ee12aa7d9dd95596b15ec0889bd7202d5723a", |
3798 | "reference": "018ebc5ccd8e631243fcc515fb05b39bac423b31", | 3808 | "reference": "429ee12aa7d9dd95596b15ec0889bd7202d5723a", |
3799 | "shasum": "" | 3809 | "shasum": "" |
3800 | }, | 3810 | }, |
3801 | "require": { | 3811 | "require": { |
@@ -3822,7 +3832,7 @@ | |||
3822 | } | 3832 | } |
3823 | ], | 3833 | ], |
3824 | "description": "Graby site config files", | 3834 | "description": "Graby site config files", |
3825 | "time": "2019-10-15T15:51:35+00:00" | 3835 | "time": "2019-11-12T06:56:59+00:00" |
3826 | }, | 3836 | }, |
3827 | { | 3837 | { |
3828 | "name": "j0k3r/httplug-ssrf-plugin", | 3838 | "name": "j0k3r/httplug-ssrf-plugin", |
@@ -4935,16 +4945,16 @@ | |||
4935 | }, | 4945 | }, |
4936 | { | 4946 | { |
4937 | "name": "monolog/monolog", | 4947 | "name": "monolog/monolog", |
4938 | "version": "1.25.1", | 4948 | "version": "1.25.2", |
4939 | "source": { | 4949 | "source": { |
4940 | "type": "git", | 4950 | "type": "git", |
4941 | "url": "https://github.com/Seldaek/monolog.git", | 4951 | "url": "https://github.com/Seldaek/monolog.git", |
4942 | "reference": "70e65a5470a42cfec1a7da00d30edb6e617e8dcf" | 4952 | "reference": "d5e2fb341cb44f7e2ab639d12a1e5901091ec287" |
4943 | }, | 4953 | }, |
4944 | "dist": { | 4954 | "dist": { |
4945 | "type": "zip", | 4955 | "type": "zip", |
4946 | "url": "https://api.github.com/repos/Seldaek/monolog/zipball/70e65a5470a42cfec1a7da00d30edb6e617e8dcf", | 4956 | "url": "https://api.github.com/repos/Seldaek/monolog/zipball/d5e2fb341cb44f7e2ab639d12a1e5901091ec287", |
4947 | "reference": "70e65a5470a42cfec1a7da00d30edb6e617e8dcf", | 4957 | "reference": "d5e2fb341cb44f7e2ab639d12a1e5901091ec287", |
4948 | "shasum": "" | 4958 | "shasum": "" |
4949 | }, | 4959 | }, |
4950 | "require": { | 4960 | "require": { |
@@ -5009,7 +5019,7 @@ | |||
5009 | "logging", | 5019 | "logging", |
5010 | "psr-3" | 5020 | "psr-3" |
5011 | ], | 5021 | ], |
5012 | "time": "2019-09-06T13:49:17+00:00" | 5022 | "time": "2019-11-13T10:00:05+00:00" |
5013 | }, | 5023 | }, |
5014 | { | 5024 | { |
5015 | "name": "nelmio/api-doc-bundle", | 5025 | "name": "nelmio/api-doc-bundle", |
@@ -5344,24 +5354,24 @@ | |||
5344 | }, | 5354 | }, |
5345 | { | 5355 | { |
5346 | "name": "paragonie/constant_time_encoding", | 5356 | "name": "paragonie/constant_time_encoding", |
5347 | "version": "v2.2.3", | 5357 | "version": "v2.3.0", |
5348 | "source": { | 5358 | "source": { |
5349 | "type": "git", | 5359 | "type": "git", |
5350 | "url": "https://github.com/paragonie/constant_time_encoding.git", | 5360 | "url": "https://github.com/paragonie/constant_time_encoding.git", |
5351 | "reference": "55af0dc01992b4d0da7f6372e2eac097bbbaffdb" | 5361 | "reference": "47a1cedd2e4d52688eb8c96469c05ebc8fd28fa2" |
5352 | }, | 5362 | }, |
5353 | "dist": { | 5363 | "dist": { |
5354 | "type": "zip", | 5364 | "type": "zip", |
5355 | "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/55af0dc01992b4d0da7f6372e2eac097bbbaffdb", | 5365 | "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/47a1cedd2e4d52688eb8c96469c05ebc8fd28fa2", |
5356 | "reference": "55af0dc01992b4d0da7f6372e2eac097bbbaffdb", | 5366 | "reference": "47a1cedd2e4d52688eb8c96469c05ebc8fd28fa2", |
5357 | "shasum": "" | 5367 | "shasum": "" |
5358 | }, | 5368 | }, |
5359 | "require": { | 5369 | "require": { |
5360 | "php": "^7" | 5370 | "php": "^7|^8" |
5361 | }, | 5371 | }, |
5362 | "require-dev": { | 5372 | "require-dev": { |
5363 | "phpunit/phpunit": "^6|^7", | 5373 | "phpunit/phpunit": "^6|^7", |
5364 | "vimeo/psalm": "^1|^2" | 5374 | "vimeo/psalm": "^1|^2|^3" |
5365 | }, | 5375 | }, |
5366 | "type": "library", | 5376 | "type": "library", |
5367 | "autoload": { | 5377 | "autoload": { |
@@ -5402,7 +5412,7 @@ | |||
5402 | "hex2bin", | 5412 | "hex2bin", |
5403 | "rfc4648" | 5413 | "rfc4648" |
5404 | ], | 5414 | ], |
5405 | "time": "2019-01-03T20:26:31+00:00" | 5415 | "time": "2019-11-06T19:20:29+00:00" |
5406 | }, | 5416 | }, |
5407 | { | 5417 | { |
5408 | "name": "paragonie/random_compat", | 5418 | "name": "paragonie/random_compat", |
@@ -6344,28 +6354,28 @@ | |||
6344 | }, | 6354 | }, |
6345 | { | 6355 | { |
6346 | "name": "phpoption/phpoption", | 6356 | "name": "phpoption/phpoption", |
6347 | "version": "1.5.0", | 6357 | "version": "1.5.2", |
6348 | "source": { | 6358 | "source": { |
6349 | "type": "git", | 6359 | "type": "git", |
6350 | "url": "https://github.com/schmittjoh/php-option.git", | 6360 | "url": "https://github.com/schmittjoh/php-option.git", |
6351 | "reference": "94e644f7d2051a5f0fcf77d81605f152eecff0ed" | 6361 | "reference": "2ba2586380f8d2b44ad1b9feb61c371020b27793" |
6352 | }, | 6362 | }, |
6353 | "dist": { | 6363 | "dist": { |
6354 | "type": "zip", | 6364 | "type": "zip", |
6355 | "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/94e644f7d2051a5f0fcf77d81605f152eecff0ed", | 6365 | "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/2ba2586380f8d2b44ad1b9feb61c371020b27793", |
6356 | "reference": "94e644f7d2051a5f0fcf77d81605f152eecff0ed", | 6366 | "reference": "2ba2586380f8d2b44ad1b9feb61c371020b27793", |
6357 | "shasum": "" | 6367 | "shasum": "" |
6358 | }, | 6368 | }, |
6359 | "require": { | 6369 | "require": { |
6360 | "php": ">=5.3.0" | 6370 | "php": ">=5.3.0" |
6361 | }, | 6371 | }, |
6362 | "require-dev": { | 6372 | "require-dev": { |
6363 | "phpunit/phpunit": "4.7.*" | 6373 | "phpunit/phpunit": "^4.7|^5.0" |
6364 | }, | 6374 | }, |
6365 | "type": "library", | 6375 | "type": "library", |
6366 | "extra": { | 6376 | "extra": { |
6367 | "branch-alias": { | 6377 | "branch-alias": { |
6368 | "dev-master": "1.3-dev" | 6378 | "dev-master": "1.5-dev" |
6369 | } | 6379 | } |
6370 | }, | 6380 | }, |
6371 | "autoload": { | 6381 | "autoload": { |
@@ -6375,7 +6385,7 @@ | |||
6375 | }, | 6385 | }, |
6376 | "notification-url": "https://packagist.org/downloads/", | 6386 | "notification-url": "https://packagist.org/downloads/", |
6377 | "license": [ | 6387 | "license": [ |
6378 | "Apache2" | 6388 | "Apache-2.0" |
6379 | ], | 6389 | ], |
6380 | "authors": [ | 6390 | "authors": [ |
6381 | { | 6391 | { |
@@ -6390,7 +6400,7 @@ | |||
6390 | "php", | 6400 | "php", |
6391 | "type" | 6401 | "type" |
6392 | ], | 6402 | ], |
6393 | "time": "2015-07-25T16:39:46+00:00" | 6403 | "time": "2019-11-06T22:27:00+00:00" |
6394 | }, | 6404 | }, |
6395 | { | 6405 | { |
6396 | "name": "phpzip/phpzip", | 6406 | "name": "phpzip/phpzip", |
@@ -7190,16 +7200,16 @@ | |||
7190 | }, | 7200 | }, |
7191 | { | 7201 | { |
7192 | "name": "scheb/two-factor-bundle", | 7202 | "name": "scheb/two-factor-bundle", |
7193 | "version": "v4.7.1", | 7203 | "version": "v4.8.0", |
7194 | "source": { | 7204 | "source": { |
7195 | "type": "git", | 7205 | "type": "git", |
7196 | "url": "https://github.com/scheb/two-factor-bundle.git", | 7206 | "url": "https://github.com/scheb/two-factor-bundle.git", |
7197 | "reference": "170895e91bdbe2c21983f195271d42e2fcfb3d62" | 7207 | "reference": "2864c770fedb723ac05aa56ff2761e4a8e1537ca" |
7198 | }, | 7208 | }, |
7199 | "dist": { | 7209 | "dist": { |
7200 | "type": "zip", | 7210 | "type": "zip", |
7201 | "url": "https://api.github.com/repos/scheb/two-factor-bundle/zipball/170895e91bdbe2c21983f195271d42e2fcfb3d62", | 7211 | "url": "https://api.github.com/repos/scheb/two-factor-bundle/zipball/2864c770fedb723ac05aa56ff2761e4a8e1537ca", |
7202 | "reference": "170895e91bdbe2c21983f195271d42e2fcfb3d62", | 7212 | "reference": "2864c770fedb723ac05aa56ff2761e4a8e1537ca", |
7203 | "shasum": "" | 7213 | "shasum": "" |
7204 | }, | 7214 | }, |
7205 | "require": { | 7215 | "require": { |
@@ -7220,7 +7230,9 @@ | |||
7220 | "require-dev": { | 7230 | "require-dev": { |
7221 | "doctrine/lexer": "^1.0.1", | 7231 | "doctrine/lexer": "^1.0.1", |
7222 | "doctrine/orm": "^2.6", | 7232 | "doctrine/orm": "^2.6", |
7233 | "escapestudios/symfony2-coding-standard": "^3.9", | ||
7223 | "phpunit/phpunit": "^7.0|^8.0", | 7234 | "phpunit/phpunit": "^7.0|^8.0", |
7235 | "squizlabs/php_codesniffer": "^3.5", | ||
7224 | "swiftmailer/swiftmailer": "^6.0", | 7236 | "swiftmailer/swiftmailer": "^6.0", |
7225 | "symfony/yaml": "^3.4|^4.0" | 7237 | "symfony/yaml": "^3.4|^4.0" |
7226 | }, | 7238 | }, |
@@ -7228,7 +7240,10 @@ | |||
7228 | "autoload": { | 7240 | "autoload": { |
7229 | "psr-4": { | 7241 | "psr-4": { |
7230 | "Scheb\\TwoFactorBundle\\": "" | 7242 | "Scheb\\TwoFactorBundle\\": "" |
7231 | } | 7243 | }, |
7244 | "exclude-from-classmap": [ | ||
7245 | "/Tests/" | ||
7246 | ] | ||
7232 | }, | 7247 | }, |
7233 | "notification-url": "https://packagist.org/downloads/", | 7248 | "notification-url": "https://packagist.org/downloads/", |
7234 | "license": [ | 7249 | "license": [ |
@@ -7249,7 +7264,7 @@ | |||
7249 | "two-factor", | 7264 | "two-factor", |
7250 | "two-step" | 7265 | "two-step" |
7251 | ], | 7266 | ], |
7252 | "time": "2019-09-02T18:36:37+00:00" | 7267 | "time": "2019-11-07T19:29:43+00:00" |
7253 | }, | 7268 | }, |
7254 | { | 7269 | { |
7255 | "name": "sensio/distribution-bundle", | 7270 | "name": "sensio/distribution-bundle", |
@@ -7378,23 +7393,23 @@ | |||
7378 | }, | 7393 | }, |
7379 | { | 7394 | { |
7380 | "name": "sensiolabs/security-checker", | 7395 | "name": "sensiolabs/security-checker", |
7381 | "version": "v6.0.2", | 7396 | "version": "v6.0.3", |
7382 | "source": { | 7397 | "source": { |
7383 | "type": "git", | 7398 | "type": "git", |
7384 | "url": "https://github.com/sensiolabs/security-checker.git", | 7399 | "url": "https://github.com/sensiolabs/security-checker.git", |
7385 | "reference": "ce8d0552dcb8d3677ab9adb6d19a5837949bfec4" | 7400 | "reference": "a576c01520d9761901f269c4934ba55448be4a54" |
7386 | }, | 7401 | }, |
7387 | "dist": { | 7402 | "dist": { |
7388 | "type": "zip", | 7403 | "type": "zip", |
7389 | "url": "https://api.github.com/repos/sensiolabs/security-checker/zipball/ce8d0552dcb8d3677ab9adb6d19a5837949bfec4", | 7404 | "url": "https://api.github.com/repos/sensiolabs/security-checker/zipball/a576c01520d9761901f269c4934ba55448be4a54", |
7390 | "reference": "ce8d0552dcb8d3677ab9adb6d19a5837949bfec4", | 7405 | "reference": "a576c01520d9761901f269c4934ba55448be4a54", |
7391 | "shasum": "" | 7406 | "shasum": "" |
7392 | }, | 7407 | }, |
7393 | "require": { | 7408 | "require": { |
7394 | "php": ">=7.1.3", | 7409 | "php": ">=7.1.3", |
7395 | "symfony/console": "^2.8|^3.4|^4.2", | 7410 | "symfony/console": "^2.8|^3.4|^4.2|^5.0", |
7396 | "symfony/http-client": "^4.3", | 7411 | "symfony/http-client": "^4.3|^5.0", |
7397 | "symfony/mime": "^4.3", | 7412 | "symfony/mime": "^4.3|^5.0", |
7398 | "symfony/polyfill-ctype": "^1.11" | 7413 | "symfony/polyfill-ctype": "^1.11" |
7399 | }, | 7414 | }, |
7400 | "bin": [ | 7415 | "bin": [ |
@@ -7422,7 +7437,7 @@ | |||
7422 | } | 7437 | } |
7423 | ], | 7438 | ], |
7424 | "description": "A security checker for your composer.lock", | 7439 | "description": "A security checker for your composer.lock", |
7425 | "time": "2019-06-08T06:46:26+00:00" | 7440 | "time": "2019-11-01T13:20:14+00:00" |
7426 | }, | 7441 | }, |
7427 | { | 7442 | { |
7428 | "name": "sentry/sdk", | 7443 | "name": "sentry/sdk", |
@@ -7459,16 +7474,16 @@ | |||
7459 | }, | 7474 | }, |
7460 | { | 7475 | { |
7461 | "name": "sentry/sentry", | 7476 | "name": "sentry/sentry", |
7462 | "version": "2.2.2", | 7477 | "version": "2.2.4", |
7463 | "source": { | 7478 | "source": { |
7464 | "type": "git", | 7479 | "type": "git", |
7465 | "url": "https://github.com/getsentry/sentry-php.git", | 7480 | "url": "https://github.com/getsentry/sentry-php.git", |
7466 | "reference": "217c9e550eb3e06bbe48a4da4031223e1aab76f0" | 7481 | "reference": "a74999536b9119257cb1a4b1aa038e4a08439f67" |
7467 | }, | 7482 | }, |
7468 | "dist": { | 7483 | "dist": { |
7469 | "type": "zip", | 7484 | "type": "zip", |
7470 | "url": "https://api.github.com/repos/getsentry/sentry-php/zipball/217c9e550eb3e06bbe48a4da4031223e1aab76f0", | 7485 | "url": "https://api.github.com/repos/getsentry/sentry-php/zipball/a74999536b9119257cb1a4b1aa038e4a08439f67", |
7471 | "reference": "217c9e550eb3e06bbe48a4da4031223e1aab76f0", | 7486 | "reference": "a74999536b9119257cb1a4b1aa038e4a08439f67", |
7472 | "shasum": "" | 7487 | "shasum": "" |
7473 | }, | 7488 | }, |
7474 | "require": { | 7489 | "require": { |
@@ -7502,6 +7517,9 @@ | |||
7502 | "symfony/phpunit-bridge": "^4.3", | 7517 | "symfony/phpunit-bridge": "^4.3", |
7503 | "vimeo/psalm": "^3.4" | 7518 | "vimeo/psalm": "^3.4" |
7504 | }, | 7519 | }, |
7520 | "suggest": { | ||
7521 | "monolog/monolog": "Allow sending log messages to Sentry by using the included Monolog handler." | ||
7522 | }, | ||
7505 | "type": "library", | 7523 | "type": "library", |
7506 | "extra": { | 7524 | "extra": { |
7507 | "branch-alias": { | 7525 | "branch-alias": { |
@@ -7537,7 +7555,7 @@ | |||
7537 | "logging", | 7555 | "logging", |
7538 | "sentry" | 7556 | "sentry" |
7539 | ], | 7557 | ], |
7540 | "time": "2019-10-10T08:16:00+00:00" | 7558 | "time": "2019-11-04T10:30:51+00:00" |
7541 | }, | 7559 | }, |
7542 | { | 7560 | { |
7543 | "name": "sentry/sentry-symfony", | 7561 | "name": "sentry/sentry-symfony", |
@@ -7717,7 +7735,7 @@ | |||
7717 | ], | 7735 | ], |
7718 | "authors": [ | 7736 | "authors": [ |
7719 | { | 7737 | { |
7720 | "name": "Sebastien Malot", | 7738 | "name": "Sebastien MALOT", |
7721 | "email": "sebastien@malot.fr" | 7739 | "email": "sebastien@malot.fr" |
7722 | } | 7740 | } |
7723 | ], | 7741 | ], |
@@ -7860,16 +7878,16 @@ | |||
7860 | }, | 7878 | }, |
7861 | { | 7879 | { |
7862 | "name": "swiftmailer/swiftmailer", | 7880 | "name": "swiftmailer/swiftmailer", |
7863 | "version": "v6.2.1", | 7881 | "version": "v6.2.3", |
7864 | "source": { | 7882 | "source": { |
7865 | "type": "git", | 7883 | "type": "git", |
7866 | "url": "https://github.com/swiftmailer/swiftmailer.git", | 7884 | "url": "https://github.com/swiftmailer/swiftmailer.git", |
7867 | "reference": "5397cd05b0a0f7937c47b0adcb4c60e5ab936b6a" | 7885 | "reference": "149cfdf118b169f7840bbe3ef0d4bc795d1780c9" |
7868 | }, | 7886 | }, |
7869 | "dist": { | 7887 | "dist": { |
7870 | "type": "zip", | 7888 | "type": "zip", |
7871 | "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/5397cd05b0a0f7937c47b0adcb4c60e5ab936b6a", | 7889 | "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/149cfdf118b169f7840bbe3ef0d4bc795d1780c9", |
7872 | "reference": "5397cd05b0a0f7937c47b0adcb4c60e5ab936b6a", | 7890 | "reference": "149cfdf118b169f7840bbe3ef0d4bc795d1780c9", |
7873 | "shasum": "" | 7891 | "shasum": "" |
7874 | }, | 7892 | }, |
7875 | "require": { | 7893 | "require": { |
@@ -7918,20 +7936,20 @@ | |||
7918 | "mail", | 7936 | "mail", |
7919 | "mailer" | 7937 | "mailer" |
7920 | ], | 7938 | ], |
7921 | "time": "2019-04-21T09:21:45+00:00" | 7939 | "time": "2019-11-12T09:31:26+00:00" |
7922 | }, | 7940 | }, |
7923 | { | 7941 | { |
7924 | "name": "symfony/http-client", | 7942 | "name": "symfony/http-client", |
7925 | "version": "v4.3.5", | 7943 | "version": "v4.3.8", |
7926 | "source": { | 7944 | "source": { |
7927 | "type": "git", | 7945 | "type": "git", |
7928 | "url": "https://github.com/symfony/http-client.git", | 7946 | "url": "https://github.com/symfony/http-client.git", |
7929 | "reference": "69d438274718121e1166e7f65c290f891a4c8ddb" | 7947 | "reference": "ae3a9cd491f1aadb5583f34a6bda5cca34081ce8" |
7930 | }, | 7948 | }, |
7931 | "dist": { | 7949 | "dist": { |
7932 | "type": "zip", | 7950 | "type": "zip", |
7933 | "url": "https://api.github.com/repos/symfony/http-client/zipball/69d438274718121e1166e7f65c290f891a4c8ddb", | 7951 | "url": "https://api.github.com/repos/symfony/http-client/zipball/ae3a9cd491f1aadb5583f34a6bda5cca34081ce8", |
7934 | "reference": "69d438274718121e1166e7f65c290f891a4c8ddb", | 7952 | "reference": "ae3a9cd491f1aadb5583f34a6bda5cca34081ce8", |
7935 | "shasum": "" | 7953 | "shasum": "" |
7936 | }, | 7954 | }, |
7937 | "require": { | 7955 | "require": { |
@@ -7980,20 +7998,20 @@ | |||
7980 | ], | 7998 | ], |
7981 | "description": "Symfony HttpClient component", | 7999 | "description": "Symfony HttpClient component", |
7982 | "homepage": "https://symfony.com", | 8000 | "homepage": "https://symfony.com", |
7983 | "time": "2019-10-07T10:52:41+00:00" | 8001 | "time": "2019-11-08T08:23:45+00:00" |
7984 | }, | 8002 | }, |
7985 | { | 8003 | { |
7986 | "name": "symfony/http-client-contracts", | 8004 | "name": "symfony/http-client-contracts", |
7987 | "version": "v1.1.7", | 8005 | "version": "v1.1.8", |
7988 | "source": { | 8006 | "source": { |
7989 | "type": "git", | 8007 | "type": "git", |
7990 | "url": "https://github.com/symfony/http-client-contracts.git", | 8008 | "url": "https://github.com/symfony/http-client-contracts.git", |
7991 | "reference": "353b2a3e907e5c34cf8f74827a4b21eb745aab1d" | 8009 | "reference": "088bae75cfa2ec5eb6d33dce17dbd8613150ce6e" |
7992 | }, | 8010 | }, |
7993 | "dist": { | 8011 | "dist": { |
7994 | "type": "zip", | 8012 | "type": "zip", |
7995 | "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/353b2a3e907e5c34cf8f74827a4b21eb745aab1d", | 8013 | "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/088bae75cfa2ec5eb6d33dce17dbd8613150ce6e", |
7996 | "reference": "353b2a3e907e5c34cf8f74827a4b21eb745aab1d", | 8014 | "reference": "088bae75cfa2ec5eb6d33dce17dbd8613150ce6e", |
7997 | "shasum": "" | 8015 | "shasum": "" |
7998 | }, | 8016 | }, |
7999 | "require": { | 8017 | "require": { |
@@ -8037,20 +8055,20 @@ | |||
8037 | "interoperability", | 8055 | "interoperability", |
8038 | "standards" | 8056 | "standards" |
8039 | ], | 8057 | ], |
8040 | "time": "2019-09-26T22:09:58+00:00" | 8058 | "time": "2019-11-07T12:44:51+00:00" |
8041 | }, | 8059 | }, |
8042 | { | 8060 | { |
8043 | "name": "symfony/mime", | 8061 | "name": "symfony/mime", |
8044 | "version": "v4.3.5", | 8062 | "version": "v4.3.8", |
8045 | "source": { | 8063 | "source": { |
8046 | "type": "git", | 8064 | "type": "git", |
8047 | "url": "https://github.com/symfony/mime.git", | 8065 | "url": "https://github.com/symfony/mime.git", |
8048 | "reference": "32f71570547b91879fdbd9cf50317d556ae86916" | 8066 | "reference": "22aecf6b11638ef378fab25d6c5a2da8a31a1448" |
8049 | }, | 8067 | }, |
8050 | "dist": { | 8068 | "dist": { |
8051 | "type": "zip", | 8069 | "type": "zip", |
8052 | "url": "https://api.github.com/repos/symfony/mime/zipball/32f71570547b91879fdbd9cf50317d556ae86916", | 8070 | "url": "https://api.github.com/repos/symfony/mime/zipball/22aecf6b11638ef378fab25d6c5a2da8a31a1448", |
8053 | "reference": "32f71570547b91879fdbd9cf50317d556ae86916", | 8071 | "reference": "22aecf6b11638ef378fab25d6c5a2da8a31a1448", |
8054 | "shasum": "" | 8072 | "shasum": "" |
8055 | }, | 8073 | }, |
8056 | "require": { | 8074 | "require": { |
@@ -8096,7 +8114,7 @@ | |||
8096 | "mime", | 8114 | "mime", |
8097 | "mime-type" | 8115 | "mime-type" |
8098 | ], | 8116 | ], |
8099 | "time": "2019-09-19T17:00:15+00:00" | 8117 | "time": "2019-11-12T13:10:02+00:00" |
8100 | }, | 8118 | }, |
8101 | { | 8119 | { |
8102 | "name": "symfony/monolog-bundle", | 8120 | "name": "symfony/monolog-bundle", |
@@ -8795,16 +8813,16 @@ | |||
8795 | }, | 8813 | }, |
8796 | { | 8814 | { |
8797 | "name": "symfony/swiftmailer-bundle", | 8815 | "name": "symfony/swiftmailer-bundle", |
8798 | "version": "v3.3.0", | 8816 | "version": "v3.3.1", |
8799 | "source": { | 8817 | "source": { |
8800 | "type": "git", | 8818 | "type": "git", |
8801 | "url": "https://github.com/symfony/swiftmailer-bundle.git", | 8819 | "url": "https://github.com/symfony/swiftmailer-bundle.git", |
8802 | "reference": "6b895bc0a5e815d1bf2d444869415a7c752516aa" | 8820 | "reference": "defa9bdfc0191ed70b389cb93c550c6c82cf1745" |
8803 | }, | 8821 | }, |
8804 | "dist": { | 8822 | "dist": { |
8805 | "type": "zip", | 8823 | "type": "zip", |
8806 | "url": "https://api.github.com/repos/symfony/swiftmailer-bundle/zipball/6b895bc0a5e815d1bf2d444869415a7c752516aa", | 8824 | "url": "https://api.github.com/repos/symfony/swiftmailer-bundle/zipball/defa9bdfc0191ed70b389cb93c550c6c82cf1745", |
8807 | "reference": "6b895bc0a5e815d1bf2d444869415a7c752516aa", | 8825 | "reference": "defa9bdfc0191ed70b389cb93c550c6c82cf1745", |
8808 | "shasum": "" | 8826 | "shasum": "" |
8809 | }, | 8827 | }, |
8810 | "require": { | 8828 | "require": { |
@@ -8856,20 +8874,20 @@ | |||
8856 | ], | 8874 | ], |
8857 | "description": "Symfony SwiftmailerBundle", | 8875 | "description": "Symfony SwiftmailerBundle", |
8858 | "homepage": "http://symfony.com", | 8876 | "homepage": "http://symfony.com", |
8859 | "time": "2019-10-20T12:05:18+00:00" | 8877 | "time": "2019-11-07T21:01:35+00:00" |
8860 | }, | 8878 | }, |
8861 | { | 8879 | { |
8862 | "name": "symfony/symfony", | 8880 | "name": "symfony/symfony", |
8863 | "version": "v3.4.33", | 8881 | "version": "v3.4.35", |
8864 | "source": { | 8882 | "source": { |
8865 | "type": "git", | 8883 | "type": "git", |
8866 | "url": "https://github.com/symfony/symfony.git", | 8884 | "url": "https://github.com/symfony/symfony.git", |
8867 | "reference": "47813652695f1345987fd5dfc0df67607e738b31" | 8885 | "reference": "2adc85d49cbe14e346068fa7e9c2e1f08ab31de6" |
8868 | }, | 8886 | }, |
8869 | "dist": { | 8887 | "dist": { |
8870 | "type": "zip", | 8888 | "type": "zip", |
8871 | "url": "https://api.github.com/repos/symfony/symfony/zipball/47813652695f1345987fd5dfc0df67607e738b31", | 8889 | "url": "https://api.github.com/repos/symfony/symfony/zipball/2adc85d49cbe14e346068fa7e9c2e1f08ab31de6", |
8872 | "reference": "47813652695f1345987fd5dfc0df67607e738b31", | 8890 | "reference": "2adc85d49cbe14e346068fa7e9c2e1f08ab31de6", |
8873 | "shasum": "" | 8891 | "shasum": "" |
8874 | }, | 8892 | }, |
8875 | "require": { | 8893 | "require": { |
@@ -9011,7 +9029,7 @@ | |||
9011 | "keywords": [ | 9029 | "keywords": [ |
9012 | "framework" | 9030 | "framework" |
9013 | ], | 9031 | ], |
9014 | "time": "2019-11-01T09:46:51+00:00" | 9032 | "time": "2019-11-13T08:45:05+00:00" |
9015 | }, | 9033 | }, |
9016 | { | 9034 | { |
9017 | "name": "true/punycode", | 9035 | "name": "true/punycode", |
@@ -9116,16 +9134,16 @@ | |||
9116 | }, | 9134 | }, |
9117 | { | 9135 | { |
9118 | "name": "twig/twig", | 9136 | "name": "twig/twig", |
9119 | "version": "v2.12.1", | 9137 | "version": "v2.12.2", |
9120 | "source": { | 9138 | "source": { |
9121 | "type": "git", | 9139 | "type": "git", |
9122 | "url": "https://github.com/twigphp/Twig.git", | 9140 | "url": "https://github.com/twigphp/Twig.git", |
9123 | "reference": "ddd4134af9bfc6dba4eff7c8447444ecc45b9ee5" | 9141 | "reference": "d761fd1f1c6b867ae09a7d8119a6d95d06dc44ed" |
9124 | }, | 9142 | }, |
9125 | "dist": { | 9143 | "dist": { |
9126 | "type": "zip", | 9144 | "type": "zip", |
9127 | "url": "https://api.github.com/repos/twigphp/Twig/zipball/ddd4134af9bfc6dba4eff7c8447444ecc45b9ee5", | 9145 | "url": "https://api.github.com/repos/twigphp/Twig/zipball/d761fd1f1c6b867ae09a7d8119a6d95d06dc44ed", |
9128 | "reference": "ddd4134af9bfc6dba4eff7c8447444ecc45b9ee5", | 9146 | "reference": "d761fd1f1c6b867ae09a7d8119a6d95d06dc44ed", |
9129 | "shasum": "" | 9147 | "shasum": "" |
9130 | }, | 9148 | }, |
9131 | "require": { | 9149 | "require": { |
@@ -9179,7 +9197,7 @@ | |||
9179 | "keywords": [ | 9197 | "keywords": [ |
9180 | "templating" | 9198 | "templating" |
9181 | ], | 9199 | ], |
9182 | "time": "2019-10-17T07:34:53+00:00" | 9200 | "time": "2019-11-11T16:52:09+00:00" |
9183 | }, | 9201 | }, |
9184 | { | 9202 | { |
9185 | "name": "wallabag/php-mobi", | 9203 | "name": "wallabag/php-mobi", |
@@ -9212,8 +9230,8 @@ | |||
9212 | "authors": [ | 9230 | "authors": [ |
9213 | { | 9231 | { |
9214 | "name": "Sander Kromwijk", | 9232 | "name": "Sander Kromwijk", |
9215 | "email": "s.kromwijk@gmail.co", | 9233 | "role": "Original developer", |
9216 | "role": "Original developer" | 9234 | "email": "s.kromwijk@gmail.co" |
9217 | }, | 9235 | }, |
9218 | { | 9236 | { |
9219 | "name": "Nicolas Lœuillet", | 9237 | "name": "Nicolas Lœuillet", |
@@ -9412,7 +9430,7 @@ | |||
9412 | "email": "adrien.brault@gmail.com" | 9430 | "email": "adrien.brault@gmail.com" |
9413 | }, | 9431 | }, |
9414 | { | 9432 | { |
9415 | "name": "William DURAND", | 9433 | "name": "William Durand", |
9416 | "email": "william.durand1@gmail.com" | 9434 | "email": "william.durand1@gmail.com" |
9417 | } | 9435 | } |
9418 | ], | 9436 | ], |
@@ -9462,7 +9480,7 @@ | |||
9462 | ], | 9480 | ], |
9463 | "authors": [ | 9481 | "authors": [ |
9464 | { | 9482 | { |
9465 | "name": "William DURAND", | 9483 | "name": "William Durand", |
9466 | "email": "william.durand1@gmail.com" | 9484 | "email": "william.durand1@gmail.com" |
9467 | } | 9485 | } |
9468 | ], | 9486 | ], |
@@ -9620,16 +9638,16 @@ | |||
9620 | }, | 9638 | }, |
9621 | { | 9639 | { |
9622 | "name": "zendframework/zend-diactoros", | 9640 | "name": "zendframework/zend-diactoros", |
9623 | "version": "2.1.5", | 9641 | "version": "2.2.0", |
9624 | "source": { | 9642 | "source": { |
9625 | "type": "git", | 9643 | "type": "git", |
9626 | "url": "https://github.com/zendframework/zend-diactoros.git", | 9644 | "url": "https://github.com/zendframework/zend-diactoros.git", |
9627 | "reference": "6dcf9e760a6b476f3e9d80abbc9ce9c4aa921f9c" | 9645 | "reference": "66eded992a75bfe75a829005a2884aae5ca86daa" |
9628 | }, | 9646 | }, |
9629 | "dist": { | 9647 | "dist": { |
9630 | "type": "zip", | 9648 | "type": "zip", |
9631 | "url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/6dcf9e760a6b476f3e9d80abbc9ce9c4aa921f9c", | 9649 | "url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/66eded992a75bfe75a829005a2884aae5ca86daa", |
9632 | "reference": "6dcf9e760a6b476f3e9d80abbc9ce9c4aa921f9c", | 9650 | "reference": "66eded992a75bfe75a829005a2884aae5ca86daa", |
9633 | "shasum": "" | 9651 | "shasum": "" |
9634 | }, | 9652 | }, |
9635 | "require": { | 9653 | "require": { |
@@ -9683,7 +9701,7 @@ | |||
9683 | "psr", | 9701 | "psr", |
9684 | "psr-7" | 9702 | "psr-7" |
9685 | ], | 9703 | ], |
9686 | "time": "2019-10-10T17:38:20+00:00" | 9704 | "time": "2019-11-12T17:26:16+00:00" |
9687 | }, | 9705 | }, |
9688 | { | 9706 | { |
9689 | "name": "zendframework/zend-eventmanager", | 9707 | "name": "zendframework/zend-eventmanager", |
@@ -9805,24 +9823,24 @@ | |||
9805 | }, | 9823 | }, |
9806 | { | 9824 | { |
9807 | "name": "composer/xdebug-handler", | 9825 | "name": "composer/xdebug-handler", |
9808 | "version": "1.3.3", | 9826 | "version": "1.4.0", |
9809 | "source": { | 9827 | "source": { |
9810 | "type": "git", | 9828 | "type": "git", |
9811 | "url": "https://github.com/composer/xdebug-handler.git", | 9829 | "url": "https://github.com/composer/xdebug-handler.git", |
9812 | "reference": "46867cbf8ca9fb8d60c506895449eb799db1184f" | 9830 | "reference": "cbe23383749496fe0f373345208b79568e4bc248" |
9813 | }, | 9831 | }, |
9814 | "dist": { | 9832 | "dist": { |
9815 | "type": "zip", | 9833 | "type": "zip", |
9816 | "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/46867cbf8ca9fb8d60c506895449eb799db1184f", | 9834 | "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/cbe23383749496fe0f373345208b79568e4bc248", |
9817 | "reference": "46867cbf8ca9fb8d60c506895449eb799db1184f", | 9835 | "reference": "cbe23383749496fe0f373345208b79568e4bc248", |
9818 | "shasum": "" | 9836 | "shasum": "" |
9819 | }, | 9837 | }, |
9820 | "require": { | 9838 | "require": { |
9821 | "php": "^5.3.2 || ^7.0", | 9839 | "php": "^5.3.2 || ^7.0 || ^8.0", |
9822 | "psr/log": "^1.0" | 9840 | "psr/log": "^1.0" |
9823 | }, | 9841 | }, |
9824 | "require-dev": { | 9842 | "require-dev": { |
9825 | "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5" | 9843 | "phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 8" |
9826 | }, | 9844 | }, |
9827 | "type": "library", | 9845 | "type": "library", |
9828 | "autoload": { | 9846 | "autoload": { |
@@ -9840,12 +9858,12 @@ | |||
9840 | "email": "john-stevenson@blueyonder.co.uk" | 9858 | "email": "john-stevenson@blueyonder.co.uk" |
9841 | } | 9859 | } |
9842 | ], | 9860 | ], |
9843 | "description": "Restarts a process without xdebug.", | 9861 | "description": "Restarts a process without Xdebug.", |
9844 | "keywords": [ | 9862 | "keywords": [ |
9845 | "Xdebug", | 9863 | "Xdebug", |
9846 | "performance" | 9864 | "performance" |
9847 | ], | 9865 | ], |
9848 | "time": "2019-05-27T17:52:04+00:00" | 9866 | "time": "2019-11-06T16:40:04+00:00" |
9849 | }, | 9867 | }, |
9850 | { | 9868 | { |
9851 | "name": "dama/doctrine-test-bundle", | 9869 | "name": "dama/doctrine-test-bundle", |
@@ -9908,16 +9926,16 @@ | |||
9908 | }, | 9926 | }, |
9909 | { | 9927 | { |
9910 | "name": "doctrine/data-fixtures", | 9928 | "name": "doctrine/data-fixtures", |
9911 | "version": "v1.3.2", | 9929 | "version": "1.3.3", |
9912 | "source": { | 9930 | "source": { |
9913 | "type": "git", | 9931 | "type": "git", |
9914 | "url": "https://github.com/doctrine/data-fixtures.git", | 9932 | "url": "https://github.com/doctrine/data-fixtures.git", |
9915 | "reference": "09b16943b27f3d80d63988d100ff256148c2f78b" | 9933 | "reference": "f0ee99c64922fc3f863715232b615c478a61b0a3" |
9916 | }, | 9934 | }, |
9917 | "dist": { | 9935 | "dist": { |
9918 | "type": "zip", | 9936 | "type": "zip", |
9919 | "url": "https://api.github.com/repos/doctrine/data-fixtures/zipball/09b16943b27f3d80d63988d100ff256148c2f78b", | 9937 | "url": "https://api.github.com/repos/doctrine/data-fixtures/zipball/f0ee99c64922fc3f863715232b615c478a61b0a3", |
9920 | "reference": "09b16943b27f3d80d63988d100ff256148c2f78b", | 9938 | "reference": "f0ee99c64922fc3f863715232b615c478a61b0a3", |
9921 | "shasum": "" | 9939 | "shasum": "" |
9922 | }, | 9940 | }, |
9923 | "require": { | 9941 | "require": { |
@@ -9928,7 +9946,9 @@ | |||
9928 | "doctrine/phpcr-odm": "<1.3.0" | 9946 | "doctrine/phpcr-odm": "<1.3.0" |
9929 | }, | 9947 | }, |
9930 | "require-dev": { | 9948 | "require-dev": { |
9949 | "alcaeus/mongo-php-adapter": "^1.1", | ||
9931 | "doctrine/dbal": "^2.5.4", | 9950 | "doctrine/dbal": "^2.5.4", |
9951 | "doctrine/mongodb-odm": "^1.3.0", | ||
9932 | "doctrine/orm": "^2.5.4", | 9952 | "doctrine/orm": "^2.5.4", |
9933 | "phpunit/phpunit": "^7.0" | 9953 | "phpunit/phpunit": "^7.0" |
9934 | }, | 9954 | }, |
@@ -9964,7 +9984,7 @@ | |||
9964 | "keywords": [ | 9984 | "keywords": [ |
9965 | "database" | 9985 | "database" |
9966 | ], | 9986 | ], |
9967 | "time": "2019-07-10T18:30:35+00:00" | 9987 | "time": "2019-10-24T04:52:28+00:00" |
9968 | }, | 9988 | }, |
9969 | { | 9989 | { |
9970 | "name": "doctrine/doctrine-fixtures-bundle", | 9990 | "name": "doctrine/doctrine-fixtures-bundle", |
@@ -10032,16 +10052,16 @@ | |||
10032 | }, | 10052 | }, |
10033 | { | 10053 | { |
10034 | "name": "friendsofphp/php-cs-fixer", | 10054 | "name": "friendsofphp/php-cs-fixer", |
10035 | "version": "v2.15.3", | 10055 | "version": "v2.16.0", |
10036 | "source": { | 10056 | "source": { |
10037 | "type": "git", | 10057 | "type": "git", |
10038 | "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", | 10058 | "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", |
10039 | "reference": "705490b0f282f21017d73561e9498d2b622ee34c" | 10059 | "reference": "ceaff36bee1ed3f1bbbedca36d2528c0826c336d" |
10040 | }, | 10060 | }, |
10041 | "dist": { | 10061 | "dist": { |
10042 | "type": "zip", | 10062 | "type": "zip", |
10043 | "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/705490b0f282f21017d73561e9498d2b622ee34c", | 10063 | "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/ceaff36bee1ed3f1bbbedca36d2528c0826c336d", |
10044 | "reference": "705490b0f282f21017d73561e9498d2b622ee34c", | 10064 | "reference": "ceaff36bee1ed3f1bbbedca36d2528c0826c336d", |
10045 | "shasum": "" | 10065 | "shasum": "" |
10046 | }, | 10066 | }, |
10047 | "require": { | 10067 | "require": { |
@@ -10117,7 +10137,7 @@ | |||
10117 | } | 10137 | } |
10118 | ], | 10138 | ], |
10119 | "description": "A tool to automatically fix PHP code style", | 10139 | "description": "A tool to automatically fix PHP code style", |
10120 | "time": "2019-08-31T12:51:54+00:00" | 10140 | "time": "2019-11-03T13:31:09+00:00" |
10121 | }, | 10141 | }, |
10122 | { | 10142 | { |
10123 | "name": "m6web/redis-mock", | 10143 | "name": "m6web/redis-mock", |
@@ -10559,16 +10579,16 @@ | |||
10559 | }, | 10579 | }, |
10560 | { | 10580 | { |
10561 | "name": "nette/schema", | 10581 | "name": "nette/schema", |
10562 | "version": "v1.0.0", | 10582 | "version": "v1.0.1", |
10563 | "source": { | 10583 | "source": { |
10564 | "type": "git", | 10584 | "type": "git", |
10565 | "url": "https://github.com/nette/schema.git", | 10585 | "url": "https://github.com/nette/schema.git", |
10566 | "reference": "6241d8d4da39e825dd6cb5bfbe4242912f4d7e4d" | 10586 | "reference": "337117df1dade22e2ba1fdc4a4b832c1e9b06b76" |
10567 | }, | 10587 | }, |
10568 | "dist": { | 10588 | "dist": { |
10569 | "type": "zip", | 10589 | "type": "zip", |
10570 | "url": "https://api.github.com/repos/nette/schema/zipball/6241d8d4da39e825dd6cb5bfbe4242912f4d7e4d", | 10590 | "url": "https://api.github.com/repos/nette/schema/zipball/337117df1dade22e2ba1fdc4a4b832c1e9b06b76", |
10571 | "reference": "6241d8d4da39e825dd6cb5bfbe4242912f4d7e4d", | 10591 | "reference": "337117df1dade22e2ba1fdc4a4b832c1e9b06b76", |
10572 | "shasum": "" | 10592 | "shasum": "" |
10573 | }, | 10593 | }, |
10574 | "require": { | 10594 | "require": { |
@@ -10612,7 +10632,7 @@ | |||
10612 | "config", | 10632 | "config", |
10613 | "nette" | 10633 | "nette" |
10614 | ], | 10634 | ], |
10615 | "time": "2019-04-03T15:53:25+00:00" | 10635 | "time": "2019-10-31T20:52:19+00:00" |
10616 | }, | 10636 | }, |
10617 | { | 10637 | { |
10618 | "name": "nette/utils", | 10638 | "name": "nette/utils", |
@@ -10693,16 +10713,16 @@ | |||
10693 | }, | 10713 | }, |
10694 | { | 10714 | { |
10695 | "name": "nikic/php-parser", | 10715 | "name": "nikic/php-parser", |
10696 | "version": "v4.2.4", | 10716 | "version": "v4.3.0", |
10697 | "source": { | 10717 | "source": { |
10698 | "type": "git", | 10718 | "type": "git", |
10699 | "url": "https://github.com/nikic/PHP-Parser.git", | 10719 | "url": "https://github.com/nikic/PHP-Parser.git", |
10700 | "reference": "97e59c7a16464196a8b9c77c47df68e4a39a45c4" | 10720 | "reference": "9a9981c347c5c49d6dfe5cf826bb882b824080dc" |
10701 | }, | 10721 | }, |
10702 | "dist": { | 10722 | "dist": { |
10703 | "type": "zip", | 10723 | "type": "zip", |
10704 | "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/97e59c7a16464196a8b9c77c47df68e4a39a45c4", | 10724 | "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/9a9981c347c5c49d6dfe5cf826bb882b824080dc", |
10705 | "reference": "97e59c7a16464196a8b9c77c47df68e4a39a45c4", | 10725 | "reference": "9a9981c347c5c49d6dfe5cf826bb882b824080dc", |
10706 | "shasum": "" | 10726 | "shasum": "" |
10707 | }, | 10727 | }, |
10708 | "require": { | 10728 | "require": { |
@@ -10710,6 +10730,7 @@ | |||
10710 | "php": ">=7.0" | 10730 | "php": ">=7.0" |
10711 | }, | 10731 | }, |
10712 | "require-dev": { | 10732 | "require-dev": { |
10733 | "ircmaxell/php-yacc": "0.0.5", | ||
10713 | "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0" | 10734 | "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0" |
10714 | }, | 10735 | }, |
10715 | "bin": [ | 10736 | "bin": [ |
@@ -10718,7 +10739,7 @@ | |||
10718 | "type": "library", | 10739 | "type": "library", |
10719 | "extra": { | 10740 | "extra": { |
10720 | "branch-alias": { | 10741 | "branch-alias": { |
10721 | "dev-master": "4.2-dev" | 10742 | "dev-master": "4.3-dev" |
10722 | } | 10743 | } |
10723 | }, | 10744 | }, |
10724 | "autoload": { | 10745 | "autoload": { |
@@ -10740,7 +10761,7 @@ | |||
10740 | "parser", | 10761 | "parser", |
10741 | "php" | 10762 | "php" |
10742 | ], | 10763 | ], |
10743 | "time": "2019-09-01T07:51:21+00:00" | 10764 | "time": "2019-11-08T13:50:10+00:00" |
10744 | }, | 10765 | }, |
10745 | { | 10766 | { |
10746 | "name": "php-cs-fixer/diff", | 10767 | "name": "php-cs-fixer/diff", |
@@ -11221,7 +11242,7 @@ | |||
11221 | }, | 11242 | }, |
11222 | { | 11243 | { |
11223 | "name": "symfony/phpunit-bridge", | 11244 | "name": "symfony/phpunit-bridge", |
11224 | "version": "v4.3.6", | 11245 | "version": "v4.3.8", |
11225 | "source": { | 11246 | "source": { |
11226 | "type": "git", | 11247 | "type": "git", |
11227 | "url": "https://github.com/symfony/phpunit-bridge.git", | 11248 | "url": "https://github.com/symfony/phpunit-bridge.git", |
diff --git a/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php b/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php index 3a7421c7..883ce4a8 100644 --- a/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php +++ b/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php | |||
@@ -16,8 +16,6 @@ class WallabagAnnotationController extends FOSRestController | |||
16 | /** | 16 | /** |
17 | * Retrieve annotations for an entry. | 17 | * Retrieve annotations for an entry. |
18 | * | 18 | * |
19 | * @param Entry $entry | ||
20 | * | ||
21 | * @see Wallabag\ApiBundle\Controller\WallabagRestController | 19 | * @see Wallabag\ApiBundle\Controller\WallabagRestController |
22 | * | 20 | * |
23 | * @return JsonResponse | 21 | * @return JsonResponse |
@@ -39,9 +37,6 @@ class WallabagAnnotationController extends FOSRestController | |||
39 | /** | 37 | /** |
40 | * Creates a new annotation. | 38 | * Creates a new annotation. |
41 | * | 39 | * |
42 | * @param Request $request | ||
43 | * @param Entry $entry | ||
44 | * | ||
45 | * @return JsonResponse | 40 | * @return JsonResponse |
46 | * | 41 | * |
47 | * @see Wallabag\ApiBundle\Controller\WallabagRestController | 42 | * @see Wallabag\ApiBundle\Controller\WallabagRestController |
@@ -79,9 +74,6 @@ class WallabagAnnotationController extends FOSRestController | |||
79 | * | 74 | * |
80 | * @ParamConverter("annotation", class="WallabagAnnotationBundle:Annotation") | 75 | * @ParamConverter("annotation", class="WallabagAnnotationBundle:Annotation") |
81 | * | 76 | * |
82 | * @param Annotation $annotation | ||
83 | * @param Request $request | ||
84 | * | ||
85 | * @return JsonResponse | 77 | * @return JsonResponse |
86 | */ | 78 | */ |
87 | public function putAnnotationAction(Annotation $annotation, Request $request) | 79 | public function putAnnotationAction(Annotation $annotation, Request $request) |
@@ -114,8 +106,6 @@ class WallabagAnnotationController extends FOSRestController | |||
114 | * | 106 | * |
115 | * @ParamConverter("annotation", class="WallabagAnnotationBundle:Annotation") | 107 | * @ParamConverter("annotation", class="WallabagAnnotationBundle:Annotation") |
116 | * | 108 | * |
117 | * @param Annotation $annotation | ||
118 | * | ||
119 | * @return JsonResponse | 109 | * @return JsonResponse |
120 | */ | 110 | */ |
121 | public function deleteAnnotationAction(Annotation $annotation) | 111 | public function deleteAnnotationAction(Annotation $annotation) |
diff --git a/src/Wallabag/ApiBundle/Controller/AnnotationRestController.php b/src/Wallabag/ApiBundle/Controller/AnnotationRestController.php index 28d55ba9..f59431e4 100644 --- a/src/Wallabag/ApiBundle/Controller/AnnotationRestController.php +++ b/src/Wallabag/ApiBundle/Controller/AnnotationRestController.php | |||
@@ -20,8 +20,6 @@ class AnnotationRestController extends WallabagRestController | |||
20 | * } | 20 | * } |
21 | * ) | 21 | * ) |
22 | * | 22 | * |
23 | * @param Entry $entry | ||
24 | * | ||
25 | * @return JsonResponse | 23 | * @return JsonResponse |
26 | */ | 24 | */ |
27 | public function getAnnotationsAction(Entry $entry) | 25 | public function getAnnotationsAction(Entry $entry) |
@@ -44,9 +42,6 @@ class AnnotationRestController extends WallabagRestController | |||
44 | * } | 42 | * } |
45 | * ) | 43 | * ) |
46 | * | 44 | * |
47 | * @param Request $request | ||
48 | * @param Entry $entry | ||
49 | * | ||
50 | * @return JsonResponse | 45 | * @return JsonResponse |
51 | */ | 46 | */ |
52 | public function postAnnotationAction(Request $request, Entry $entry) | 47 | public function postAnnotationAction(Request $request, Entry $entry) |
@@ -70,9 +65,6 @@ class AnnotationRestController extends WallabagRestController | |||
70 | * | 65 | * |
71 | * @ParamConverter("annotation", class="WallabagAnnotationBundle:Annotation") | 66 | * @ParamConverter("annotation", class="WallabagAnnotationBundle:Annotation") |
72 | * | 67 | * |
73 | * @param Annotation $annotation | ||
74 | * @param Request $request | ||
75 | * | ||
76 | * @return JsonResponse | 68 | * @return JsonResponse |
77 | */ | 69 | */ |
78 | public function putAnnotationAction(Annotation $annotation, Request $request) | 70 | public function putAnnotationAction(Annotation $annotation, Request $request) |
@@ -96,8 +88,6 @@ class AnnotationRestController extends WallabagRestController | |||
96 | * | 88 | * |
97 | * @ParamConverter("annotation", class="WallabagAnnotationBundle:Annotation") | 89 | * @ParamConverter("annotation", class="WallabagAnnotationBundle:Annotation") |
98 | * | 90 | * |
99 | * @param Annotation $annotation | ||
100 | * | ||
101 | * @return JsonResponse | 91 | * @return JsonResponse |
102 | */ | 92 | */ |
103 | public function deleteAnnotationAction(Annotation $annotation) | 93 | public function deleteAnnotationAction(Annotation $annotation) |
diff --git a/src/Wallabag/ApiBundle/Controller/DeveloperController.php b/src/Wallabag/ApiBundle/Controller/DeveloperController.php index ae7e83da..3224d789 100644 --- a/src/Wallabag/ApiBundle/Controller/DeveloperController.php +++ b/src/Wallabag/ApiBundle/Controller/DeveloperController.php | |||
@@ -29,8 +29,6 @@ class DeveloperController extends Controller | |||
29 | /** | 29 | /** |
30 | * Create a client (an app). | 30 | * Create a client (an app). |
31 | * | 31 | * |
32 | * @param Request $request | ||
33 | * | ||
34 | * @Route("/developer/client/create", name="developer_create_client") | 32 | * @Route("/developer/client/create", name="developer_create_client") |
35 | * | 33 | * |
36 | * @return \Symfony\Component\HttpFoundation\Response | 34 | * @return \Symfony\Component\HttpFoundation\Response |
@@ -67,8 +65,6 @@ class DeveloperController extends Controller | |||
67 | /** | 65 | /** |
68 | * Remove a client. | 66 | * Remove a client. |
69 | * | 67 | * |
70 | * @param Client $client | ||
71 | * | ||
72 | * @Route("/developer/client/delete/{id}", requirements={"id" = "\d+"}, name="developer_delete_client") | 68 | * @Route("/developer/client/delete/{id}", requirements={"id" = "\d+"}, name="developer_delete_client") |
73 | * | 69 | * |
74 | * @return \Symfony\Component\HttpFoundation\RedirectResponse | 70 | * @return \Symfony\Component\HttpFoundation\RedirectResponse |
diff --git a/src/Wallabag/ApiBundle/Controller/EntryRestController.php b/src/Wallabag/ApiBundle/Controller/EntryRestController.php index 9f933adb..c09fdaeb 100644 --- a/src/Wallabag/ApiBundle/Controller/EntryRestController.php +++ b/src/Wallabag/ApiBundle/Controller/EntryRestController.php | |||
@@ -822,8 +822,6 @@ class EntryRestController extends WallabagRestController | |||
822 | * Retrieve value from the request. | 822 | * Retrieve value from the request. |
823 | * Used for POST & PATCH on a an entry. | 823 | * Used for POST & PATCH on a an entry. |
824 | * | 824 | * |
825 | * @param Request $request | ||
826 | * | ||
827 | * @return array | 825 | * @return array |
828 | */ | 826 | */ |
829 | private function retrieveValueFromRequest(Request $request) | 827 | private function retrieveValueFromRequest(Request $request) |
diff --git a/src/Wallabag/ApiBundle/Controller/UserRestController.php b/src/Wallabag/ApiBundle/Controller/UserRestController.php index 1b10a076..922ab7bb 100644 --- a/src/Wallabag/ApiBundle/Controller/UserRestController.php +++ b/src/Wallabag/ApiBundle/Controller/UserRestController.php | |||
@@ -119,7 +119,6 @@ class UserRestController extends WallabagRestController | |||
119 | /** | 119 | /** |
120 | * Send user response. | 120 | * Send user response. |
121 | * | 121 | * |
122 | * @param User $user | ||
123 | * @param string $group Used to define with serialized group might be used | 122 | * @param string $group Used to define with serialized group might be used |
124 | * @param int $status HTTP Status code to send | 123 | * @param int $status HTTP Status code to send |
125 | * | 124 | * |
diff --git a/src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php b/src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php index 99170967..64b91520 100644 --- a/src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php +++ b/src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php | |||
@@ -63,9 +63,6 @@ class CleanDuplicatesCommand extends ContainerAwareCommand | |||
63 | return 0; | 63 | return 0; |
64 | } | 64 | } |
65 | 65 | ||
66 | /** | ||
67 | * @param User $user | ||
68 | */ | ||
69 | private function cleanDuplicates(User $user) | 66 | private function cleanDuplicates(User $user) |
70 | { | 67 | { |
71 | $em = $this->getContainer()->get('doctrine.orm.entity_manager'); | 68 | $em = $this->getContainer()->get('doctrine.orm.entity_manager'); |
diff --git a/src/Wallabag/CoreBundle/Command/GenerateUrlHashesCommand.php b/src/Wallabag/CoreBundle/Command/GenerateUrlHashesCommand.php index 8f2bff11..a0e9221e 100644 --- a/src/Wallabag/CoreBundle/Command/GenerateUrlHashesCommand.php +++ b/src/Wallabag/CoreBundle/Command/GenerateUrlHashesCommand.php | |||
@@ -54,9 +54,6 @@ class GenerateUrlHashesCommand extends ContainerAwareCommand | |||
54 | return 0; | 54 | return 0; |
55 | } | 55 | } |
56 | 56 | ||
57 | /** | ||
58 | * @param User $user | ||
59 | */ | ||
60 | private function generateHashedUrls(User $user) | 57 | private function generateHashedUrls(User $user) |
61 | { | 58 | { |
62 | $em = $this->getContainer()->get('doctrine.orm.entity_manager'); | 59 | $em = $this->getContainer()->get('doctrine.orm.entity_manager'); |
diff --git a/src/Wallabag/CoreBundle/Command/InstallCommand.php b/src/Wallabag/CoreBundle/Command/InstallCommand.php index f73e0696..3aa332f1 100644 --- a/src/Wallabag/CoreBundle/Command/InstallCommand.php +++ b/src/Wallabag/CoreBundle/Command/InstallCommand.php | |||
@@ -326,9 +326,7 @@ class InstallCommand extends ContainerAwareCommand | |||
326 | if (0 !== $exitCode) { | 326 | if (0 !== $exitCode) { |
327 | $this->getApplication()->setAutoExit(true); | 327 | $this->getApplication()->setAutoExit(true); |
328 | 328 | ||
329 | throw new \RuntimeException( | 329 | throw new \RuntimeException('The command "' . $command . "\" generates some errors: \n\n" . $output->fetch()); |
330 | 'The command "' . $command . "\" generates some errors: \n\n" | ||
331 | . $output->fetch()); | ||
332 | } | 330 | } |
333 | 331 | ||
334 | return $this; | 332 | return $this; |
diff --git a/src/Wallabag/CoreBundle/Command/ShowUserCommand.php b/src/Wallabag/CoreBundle/Command/ShowUserCommand.php index c95efbf3..87bccf71 100644 --- a/src/Wallabag/CoreBundle/Command/ShowUserCommand.php +++ b/src/Wallabag/CoreBundle/Command/ShowUserCommand.php | |||
@@ -46,9 +46,6 @@ class ShowUserCommand extends ContainerAwareCommand | |||
46 | return 0; | 46 | return 0; |
47 | } | 47 | } |
48 | 48 | ||
49 | /** | ||
50 | * @param User $user | ||
51 | */ | ||
52 | private function showUser(User $user) | 49 | private function showUser(User $user) |
53 | { | 50 | { |
54 | $this->io->listing([ | 51 | $this->io->listing([ |
diff --git a/src/Wallabag/CoreBundle/Controller/ConfigController.php b/src/Wallabag/CoreBundle/Controller/ConfigController.php index 0db90ba4..6655ef93 100644 --- a/src/Wallabag/CoreBundle/Controller/ConfigController.php +++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php | |||
@@ -26,8 +26,6 @@ use Wallabag\CoreBundle\Tools\Utils; | |||
26 | class ConfigController extends Controller | 26 | class ConfigController extends Controller |
27 | { | 27 | { |
28 | /** | 28 | /** |
29 | * @param Request $request | ||
30 | * | ||
31 | * @Route("/config", name="config") | 29 | * @Route("/config", name="config") |
32 | */ | 30 | */ |
33 | public function indexAction(Request $request) | 31 | public function indexAction(Request $request) |
@@ -279,8 +277,6 @@ class ConfigController extends Controller | |||
279 | /** | 277 | /** |
280 | * Validate OTP code. | 278 | * Validate OTP code. |
281 | * | 279 | * |
282 | * @param Request $request | ||
283 | * | ||
284 | * @Route("/config/otp/app/check", name="config_otp_app_check") | 280 | * @Route("/config/otp/app/check", name="config_otp_app_check") |
285 | */ | 281 | */ |
286 | public function otpAppCheckAction(Request $request) | 282 | public function otpAppCheckAction(Request $request) |
@@ -308,8 +304,6 @@ class ConfigController extends Controller | |||
308 | } | 304 | } |
309 | 305 | ||
310 | /** | 306 | /** |
311 | * @param Request $request | ||
312 | * | ||
313 | * @Route("/generate-token", name="generate_token") | 307 | * @Route("/generate-token", name="generate_token") |
314 | * | 308 | * |
315 | * @return RedirectResponse|JsonResponse | 309 | * @return RedirectResponse|JsonResponse |
@@ -336,8 +330,6 @@ class ConfigController extends Controller | |||
336 | } | 330 | } |
337 | 331 | ||
338 | /** | 332 | /** |
339 | * @param Request $request | ||
340 | * | ||
341 | * @Route("/revoke-token", name="revoke_token") | 333 | * @Route("/revoke-token", name="revoke_token") |
342 | * | 334 | * |
343 | * @return RedirectResponse|JsonResponse | 335 | * @return RedirectResponse|JsonResponse |
@@ -366,8 +358,6 @@ class ConfigController extends Controller | |||
366 | /** | 358 | /** |
367 | * Deletes a tagging rule and redirect to the config homepage. | 359 | * Deletes a tagging rule and redirect to the config homepage. |
368 | * | 360 | * |
369 | * @param TaggingRule $rule | ||
370 | * | ||
371 | * @Route("/tagging-rule/delete/{id}", requirements={"id" = "\d+"}, name="delete_tagging_rule") | 361 | * @Route("/tagging-rule/delete/{id}", requirements={"id" = "\d+"}, name="delete_tagging_rule") |
372 | * | 362 | * |
373 | * @return RedirectResponse | 363 | * @return RedirectResponse |
@@ -391,8 +381,6 @@ class ConfigController extends Controller | |||
391 | /** | 381 | /** |
392 | * Edit a tagging rule. | 382 | * Edit a tagging rule. |
393 | * | 383 | * |
394 | * @param TaggingRule $rule | ||
395 | * | ||
396 | * @Route("/tagging-rule/edit/{id}", requirements={"id" = "\d+"}, name="edit_tagging_rule") | 384 | * @Route("/tagging-rule/edit/{id}", requirements={"id" = "\d+"}, name="edit_tagging_rule") |
397 | * | 385 | * |
398 | * @return RedirectResponse | 386 | * @return RedirectResponse |
@@ -459,8 +447,6 @@ class ConfigController extends Controller | |||
459 | * | 447 | * |
460 | * @Route("/account/delete", name="delete_account") | 448 | * @Route("/account/delete", name="delete_account") |
461 | * | 449 | * |
462 | * @param Request $request | ||
463 | * | ||
464 | * @throws AccessDeniedHttpException | 450 | * @throws AccessDeniedHttpException |
465 | * | 451 | * |
466 | * @return \Symfony\Component\HttpFoundation\RedirectResponse | 452 | * @return \Symfony\Component\HttpFoundation\RedirectResponse |
@@ -491,8 +477,6 @@ class ConfigController extends Controller | |||
491 | * | 477 | * |
492 | * @Route("/config/view-mode", name="switch_view_mode") | 478 | * @Route("/config/view-mode", name="switch_view_mode") |
493 | * | 479 | * |
494 | * @param Request $request | ||
495 | * | ||
496 | * @return \Symfony\Component\HttpFoundation\RedirectResponse | 480 | * @return \Symfony\Component\HttpFoundation\RedirectResponse |
497 | */ | 481 | */ |
498 | public function changeViewModeAction(Request $request) | 482 | public function changeViewModeAction(Request $request) |
@@ -510,8 +494,7 @@ class ConfigController extends Controller | |||
510 | /** | 494 | /** |
511 | * Change the locale for the current user. | 495 | * Change the locale for the current user. |
512 | * | 496 | * |
513 | * @param Request $request | 497 | * @param string $language |
514 | * @param string $language | ||
515 | * | 498 | * |
516 | * @Route("/locale/{language}", name="changeLocale") | 499 | * @Route("/locale/{language}", name="changeLocale") |
517 | * | 500 | * |
@@ -620,8 +603,6 @@ class ConfigController extends Controller | |||
620 | 603 | ||
621 | /** | 604 | /** |
622 | * Validate that a rule can be edited/deleted by the current user. | 605 | * Validate that a rule can be edited/deleted by the current user. |
623 | * | ||
624 | * @param TaggingRule $rule | ||
625 | */ | 606 | */ |
626 | private function validateRuleAction(TaggingRule $rule) | 607 | private function validateRuleAction(TaggingRule $rule) |
627 | { | 608 | { |
diff --git a/src/Wallabag/CoreBundle/Controller/EntryController.php b/src/Wallabag/CoreBundle/Controller/EntryController.php index 5c8ecb40..cd9e8d27 100644 --- a/src/Wallabag/CoreBundle/Controller/EntryController.php +++ b/src/Wallabag/CoreBundle/Controller/EntryController.php | |||
@@ -21,8 +21,7 @@ use Wallabag\CoreBundle\Form\Type\SearchEntryType; | |||
21 | class EntryController extends Controller | 21 | class EntryController extends Controller |
22 | { | 22 | { |
23 | /** | 23 | /** |
24 | * @param Request $request | 24 | * @param int $page |
25 | * @param int $page | ||
26 | * | 25 | * |
27 | * @Route("/search/{page}", name="search", defaults={"page" = 1}) | 26 | * @Route("/search/{page}", name="search", defaults={"page" = 1}) |
28 | * | 27 | * |
@@ -53,8 +52,6 @@ class EntryController extends Controller | |||
53 | } | 52 | } |
54 | 53 | ||
55 | /** | 54 | /** |
56 | * @param Request $request | ||
57 | * | ||
58 | * @Route("/new-entry", name="new_entry") | 55 | * @Route("/new-entry", name="new_entry") |
59 | * | 56 | * |
60 | * @return \Symfony\Component\HttpFoundation\Response | 57 | * @return \Symfony\Component\HttpFoundation\Response |
@@ -97,8 +94,6 @@ class EntryController extends Controller | |||
97 | } | 94 | } |
98 | 95 | ||
99 | /** | 96 | /** |
100 | * @param Request $request | ||
101 | * | ||
102 | * @Route("/bookmarklet", name="bookmarklet") | 97 | * @Route("/bookmarklet", name="bookmarklet") |
103 | * | 98 | * |
104 | * @return \Symfony\Component\HttpFoundation\Response | 99 | * @return \Symfony\Component\HttpFoundation\Response |
@@ -135,9 +130,6 @@ class EntryController extends Controller | |||
135 | /** | 130 | /** |
136 | * Edit an entry content. | 131 | * Edit an entry content. |
137 | * | 132 | * |
138 | * @param Request $request | ||
139 | * @param Entry $entry | ||
140 | * | ||
141 | * @Route("/edit/{id}", requirements={"id" = "\d+"}, name="edit") | 133 | * @Route("/edit/{id}", requirements={"id" = "\d+"}, name="edit") |
142 | * | 134 | * |
143 | * @return \Symfony\Component\HttpFoundation\Response | 135 | * @return \Symfony\Component\HttpFoundation\Response |
@@ -171,8 +163,7 @@ class EntryController extends Controller | |||
171 | /** | 163 | /** |
172 | * Shows all entries for current user. | 164 | * Shows all entries for current user. |
173 | * | 165 | * |
174 | * @param Request $request | 166 | * @param int $page |
175 | * @param int $page | ||
176 | * | 167 | * |
177 | * @Route("/all/list/{page}", name="all", defaults={"page" = "1"}) | 168 | * @Route("/all/list/{page}", name="all", defaults={"page" = "1"}) |
178 | * | 169 | * |
@@ -186,8 +177,7 @@ class EntryController extends Controller | |||
186 | /** | 177 | /** |
187 | * Shows unread entries for current user. | 178 | * Shows unread entries for current user. |
188 | * | 179 | * |
189 | * @param Request $request | 180 | * @param int $page |
190 | * @param int $page | ||
191 | * | 181 | * |
192 | * @Route("/unread/list/{page}", name="unread", defaults={"page" = "1"}) | 182 | * @Route("/unread/list/{page}", name="unread", defaults={"page" = "1"}) |
193 | * | 183 | * |
@@ -206,8 +196,7 @@ class EntryController extends Controller | |||
206 | /** | 196 | /** |
207 | * Shows read entries for current user. | 197 | * Shows read entries for current user. |
208 | * | 198 | * |
209 | * @param Request $request | 199 | * @param int $page |
210 | * @param int $page | ||
211 | * | 200 | * |
212 | * @Route("/archive/list/{page}", name="archive", defaults={"page" = "1"}) | 201 | * @Route("/archive/list/{page}", name="archive", defaults={"page" = "1"}) |
213 | * | 202 | * |
@@ -221,8 +210,7 @@ class EntryController extends Controller | |||
221 | /** | 210 | /** |
222 | * Shows starred entries for current user. | 211 | * Shows starred entries for current user. |
223 | * | 212 | * |
224 | * @param Request $request | 213 | * @param int $page |
225 | * @param int $page | ||
226 | * | 214 | * |
227 | * @Route("/starred/list/{page}", name="starred", defaults={"page" = "1"}) | 215 | * @Route("/starred/list/{page}", name="starred", defaults={"page" = "1"}) |
228 | * | 216 | * |
@@ -236,8 +224,7 @@ class EntryController extends Controller | |||
236 | /** | 224 | /** |
237 | * Shows untagged articles for current user. | 225 | * Shows untagged articles for current user. |
238 | * | 226 | * |
239 | * @param Request $request | 227 | * @param int $page |
240 | * @param int $page | ||
241 | * | 228 | * |
242 | * @Route("/untagged/list/{page}", name="untagged", defaults={"page" = "1"}) | 229 | * @Route("/untagged/list/{page}", name="untagged", defaults={"page" = "1"}) |
243 | * | 230 | * |
@@ -276,8 +263,6 @@ class EntryController extends Controller | |||
276 | /** | 263 | /** |
277 | * Shows entry content. | 264 | * Shows entry content. |
278 | * | 265 | * |
279 | * @param Entry $entry | ||
280 | * | ||
281 | * @Route("/view/{id}", requirements={"id" = "\d+"}, name="view") | 266 | * @Route("/view/{id}", requirements={"id" = "\d+"}, name="view") |
282 | * | 267 | * |
283 | * @return \Symfony\Component\HttpFoundation\Response | 268 | * @return \Symfony\Component\HttpFoundation\Response |
@@ -296,8 +281,6 @@ class EntryController extends Controller | |||
296 | * Reload an entry. | 281 | * Reload an entry. |
297 | * Refetch content from the website and make it readable again. | 282 | * Refetch content from the website and make it readable again. |
298 | * | 283 | * |
299 | * @param Entry $entry | ||
300 | * | ||
301 | * @Route("/reload/{id}", requirements={"id" = "\d+"}, name="reload_entry") | 284 | * @Route("/reload/{id}", requirements={"id" = "\d+"}, name="reload_entry") |
302 | * | 285 | * |
303 | * @return \Symfony\Component\HttpFoundation\RedirectResponse | 286 | * @return \Symfony\Component\HttpFoundation\RedirectResponse |
@@ -330,9 +313,6 @@ class EntryController extends Controller | |||
330 | /** | 313 | /** |
331 | * Changes read status for an entry. | 314 | * Changes read status for an entry. |
332 | * | 315 | * |
333 | * @param Request $request | ||
334 | * @param Entry $entry | ||
335 | * | ||
336 | * @Route("/archive/{id}", requirements={"id" = "\d+"}, name="archive_entry") | 316 | * @Route("/archive/{id}", requirements={"id" = "\d+"}, name="archive_entry") |
337 | * | 317 | * |
338 | * @return \Symfony\Component\HttpFoundation\RedirectResponse | 318 | * @return \Symfony\Component\HttpFoundation\RedirectResponse |
@@ -362,9 +342,6 @@ class EntryController extends Controller | |||
362 | /** | 342 | /** |
363 | * Changes starred status for an entry. | 343 | * Changes starred status for an entry. |
364 | * | 344 | * |
365 | * @param Request $request | ||
366 | * @param Entry $entry | ||
367 | * | ||
368 | * @Route("/star/{id}", requirements={"id" = "\d+"}, name="star_entry") | 345 | * @Route("/star/{id}", requirements={"id" = "\d+"}, name="star_entry") |
369 | * | 346 | * |
370 | * @return \Symfony\Component\HttpFoundation\RedirectResponse | 347 | * @return \Symfony\Component\HttpFoundation\RedirectResponse |
@@ -395,8 +372,6 @@ class EntryController extends Controller | |||
395 | /** | 372 | /** |
396 | * Deletes entry and redirect to the homepage or the last viewed page. | 373 | * Deletes entry and redirect to the homepage or the last viewed page. |
397 | * | 374 | * |
398 | * @param Entry $entry | ||
399 | * | ||
400 | * @Route("/delete/{id}", requirements={"id" = "\d+"}, name="delete_entry") | 375 | * @Route("/delete/{id}", requirements={"id" = "\d+"}, name="delete_entry") |
401 | * | 376 | * |
402 | * @return \Symfony\Component\HttpFoundation\RedirectResponse | 377 | * @return \Symfony\Component\HttpFoundation\RedirectResponse |
@@ -437,8 +412,6 @@ class EntryController extends Controller | |||
437 | /** | 412 | /** |
438 | * Get public URL for entry (and generate it if necessary). | 413 | * Get public URL for entry (and generate it if necessary). |
439 | * | 414 | * |
440 | * @param Entry $entry | ||
441 | * | ||
442 | * @Route("/share/{id}", requirements={"id" = "\d+"}, name="share") | 415 | * @Route("/share/{id}", requirements={"id" = "\d+"}, name="share") |
443 | * | 416 | * |
444 | * @return \Symfony\Component\HttpFoundation\Response | 417 | * @return \Symfony\Component\HttpFoundation\Response |
@@ -463,8 +436,6 @@ class EntryController extends Controller | |||
463 | /** | 436 | /** |
464 | * Disable public sharing for an entry. | 437 | * Disable public sharing for an entry. |
465 | * | 438 | * |
466 | * @param Entry $entry | ||
467 | * | ||
468 | * @Route("/share/delete/{id}", requirements={"id" = "\d+"}, name="delete_share") | 439 | * @Route("/share/delete/{id}", requirements={"id" = "\d+"}, name="delete_share") |
469 | * | 440 | * |
470 | * @return \Symfony\Component\HttpFoundation\Response | 441 | * @return \Symfony\Component\HttpFoundation\Response |
@@ -487,8 +458,6 @@ class EntryController extends Controller | |||
487 | /** | 458 | /** |
488 | * Ability to view a content publicly. | 459 | * Ability to view a content publicly. |
489 | * | 460 | * |
490 | * @param Entry $entry | ||
491 | * | ||
492 | * @Route("/share/{uid}", requirements={"uid" = ".+"}, name="share_entry") | 461 | * @Route("/share/{uid}", requirements={"uid" = ".+"}, name="share_entry") |
493 | * @Cache(maxage="25200", smaxage="25200", public=true) | 462 | * @Cache(maxage="25200", smaxage="25200", public=true) |
494 | * | 463 | * |
@@ -510,9 +479,8 @@ class EntryController extends Controller | |||
510 | * Global method to retrieve entries depending on the given type | 479 | * Global method to retrieve entries depending on the given type |
511 | * It returns the response to be send. | 480 | * It returns the response to be send. |
512 | * | 481 | * |
513 | * @param string $type Entries type: unread, starred or archive | 482 | * @param string $type Entries type: unread, starred or archive |
514 | * @param Request $request | 483 | * @param int $page |
515 | * @param int $page | ||
516 | * | 484 | * |
517 | * @return \Symfony\Component\HttpFoundation\Response | 485 | * @return \Symfony\Component\HttpFoundation\Response |
518 | */ | 486 | */ |
@@ -582,7 +550,6 @@ class EntryController extends Controller | |||
582 | * Fetch content and update entry. | 550 | * Fetch content and update entry. |
583 | * In case it fails, $entry->getContent will return an error message. | 551 | * In case it fails, $entry->getContent will return an error message. |
584 | * | 552 | * |
585 | * @param Entry $entry | ||
586 | * @param string $prefixMessage Should be the translation key: entry_saved or entry_reloaded | 553 | * @param string $prefixMessage Should be the translation key: entry_saved or entry_reloaded |
587 | */ | 554 | */ |
588 | private function updateEntry(Entry $entry, $prefixMessage = 'entry_saved') | 555 | private function updateEntry(Entry $entry, $prefixMessage = 'entry_saved') |
@@ -613,8 +580,6 @@ class EntryController extends Controller | |||
613 | 580 | ||
614 | /** | 581 | /** |
615 | * Check if the logged user can manage the given entry. | 582 | * Check if the logged user can manage the given entry. |
616 | * | ||
617 | * @param Entry $entry | ||
618 | */ | 583 | */ |
619 | private function checkUserAction(Entry $entry) | 584 | private function checkUserAction(Entry $entry) |
620 | { | 585 | { |
@@ -626,8 +591,6 @@ class EntryController extends Controller | |||
626 | /** | 591 | /** |
627 | * Check for existing entry, if it exists, redirect to it with a message. | 592 | * Check for existing entry, if it exists, redirect to it with a message. |
628 | * | 593 | * |
629 | * @param Entry $entry | ||
630 | * | ||
631 | * @return Entry|bool | 594 | * @return Entry|bool |
632 | */ | 595 | */ |
633 | private function checkIfEntryAlreadyExists(Entry $entry) | 596 | private function checkIfEntryAlreadyExists(Entry $entry) |
diff --git a/src/Wallabag/CoreBundle/Controller/ExportController.php b/src/Wallabag/CoreBundle/Controller/ExportController.php index 9ff35ff5..282fd733 100644 --- a/src/Wallabag/CoreBundle/Controller/ExportController.php +++ b/src/Wallabag/CoreBundle/Controller/ExportController.php | |||
@@ -17,7 +17,6 @@ class ExportController extends Controller | |||
17 | /** | 17 | /** |
18 | * Gets one entry content. | 18 | * Gets one entry content. |
19 | * | 19 | * |
20 | * @param Entry $entry | ||
21 | * @param string $format | 20 | * @param string $format |
22 | * | 21 | * |
23 | * @Route("/export/{id}.{format}", name="export_entry", requirements={ | 22 | * @Route("/export/{id}.{format}", name="export_entry", requirements={ |
diff --git a/src/Wallabag/CoreBundle/Controller/FeedController.php b/src/Wallabag/CoreBundle/Controller/FeedController.php index 9f671735..95c3427b 100644 --- a/src/Wallabag/CoreBundle/Controller/FeedController.php +++ b/src/Wallabag/CoreBundle/Controller/FeedController.php | |||
@@ -23,7 +23,6 @@ class FeedController extends Controller | |||
23 | * | 23 | * |
24 | * @ParamConverter("user", class="WallabagUserBundle:User", converter="username_feed_token_converter") | 24 | * @ParamConverter("user", class="WallabagUserBundle:User", converter="username_feed_token_converter") |
25 | * | 25 | * |
26 | * @param User $user | ||
27 | * @param $page | 26 | * @param $page |
28 | * | 27 | * |
29 | * @return \Symfony\Component\HttpFoundation\Response | 28 | * @return \Symfony\Component\HttpFoundation\Response |
@@ -40,7 +39,6 @@ class FeedController extends Controller | |||
40 | * | 39 | * |
41 | * @ParamConverter("user", class="WallabagUserBundle:User", converter="username_feed_token_converter") | 40 | * @ParamConverter("user", class="WallabagUserBundle:User", converter="username_feed_token_converter") |
42 | * | 41 | * |
43 | * @param User $user | ||
44 | * @param $page | 42 | * @param $page |
45 | * | 43 | * |
46 | * @return \Symfony\Component\HttpFoundation\Response | 44 | * @return \Symfony\Component\HttpFoundation\Response |
@@ -57,7 +55,6 @@ class FeedController extends Controller | |||
57 | * | 55 | * |
58 | * @ParamConverter("user", class="WallabagUserBundle:User", converter="username_feed_token_converter") | 56 | * @ParamConverter("user", class="WallabagUserBundle:User", converter="username_feed_token_converter") |
59 | * | 57 | * |
60 | * @param User $user | ||
61 | * @param $page | 58 | * @param $page |
62 | * | 59 | * |
63 | * @return \Symfony\Component\HttpFoundation\Response | 60 | * @return \Symfony\Component\HttpFoundation\Response |
@@ -147,7 +144,6 @@ class FeedController extends Controller | |||
147 | * It returns the response to be send. | 144 | * It returns the response to be send. |
148 | * | 145 | * |
149 | * @param string $type Entries type: unread, starred or archive | 146 | * @param string $type Entries type: unread, starred or archive |
150 | * @param User $user | ||
151 | * @param int $page | 147 | * @param int $page |
152 | * | 148 | * |
153 | * @return \Symfony\Component\HttpFoundation\Response | 149 | * @return \Symfony\Component\HttpFoundation\Response |
diff --git a/src/Wallabag/CoreBundle/Controller/SiteCredentialController.php b/src/Wallabag/CoreBundle/Controller/SiteCredentialController.php index 51bc1d94..4320c5ff 100644 --- a/src/Wallabag/CoreBundle/Controller/SiteCredentialController.php +++ b/src/Wallabag/CoreBundle/Controller/SiteCredentialController.php | |||
@@ -36,8 +36,6 @@ class SiteCredentialController extends Controller | |||
36 | * | 36 | * |
37 | * @Route("/new", name="site_credentials_new", methods={"GET", "POST"}) | 37 | * @Route("/new", name="site_credentials_new", methods={"GET", "POST"}) |
38 | * | 38 | * |
39 | * @param Request $request | ||
40 | * | ||
41 | * @return \Symfony\Component\HttpFoundation\Response | 39 | * @return \Symfony\Component\HttpFoundation\Response |
42 | */ | 40 | */ |
43 | public function newAction(Request $request) | 41 | public function newAction(Request $request) |
@@ -76,9 +74,6 @@ class SiteCredentialController extends Controller | |||
76 | * | 74 | * |
77 | * @Route("/{id}/edit", name="site_credentials_edit", methods={"GET", "POST"}) | 75 | * @Route("/{id}/edit", name="site_credentials_edit", methods={"GET", "POST"}) |
78 | * | 76 | * |
79 | * @param Request $request | ||
80 | * @param SiteCredential $siteCredential | ||
81 | * | ||
82 | * @return \Symfony\Component\HttpFoundation\Response | 77 | * @return \Symfony\Component\HttpFoundation\Response |
83 | */ | 78 | */ |
84 | public function editAction(Request $request, SiteCredential $siteCredential) | 79 | public function editAction(Request $request, SiteCredential $siteCredential) |
@@ -119,9 +114,6 @@ class SiteCredentialController extends Controller | |||
119 | * | 114 | * |
120 | * @Route("/{id}", name="site_credentials_delete", methods={"DELETE"}) | 115 | * @Route("/{id}", name="site_credentials_delete", methods={"DELETE"}) |
121 | * | 116 | * |
122 | * @param Request $request | ||
123 | * @param SiteCredential $siteCredential | ||
124 | * | ||
125 | * @return \Symfony\Component\HttpFoundation\RedirectResponse | 117 | * @return \Symfony\Component\HttpFoundation\RedirectResponse |
126 | */ | 118 | */ |
127 | public function deleteAction(Request $request, SiteCredential $siteCredential) | 119 | public function deleteAction(Request $request, SiteCredential $siteCredential) |
diff --git a/src/Wallabag/CoreBundle/Controller/TagController.php b/src/Wallabag/CoreBundle/Controller/TagController.php index 90d36d71..a6ad131f 100644 --- a/src/Wallabag/CoreBundle/Controller/TagController.php +++ b/src/Wallabag/CoreBundle/Controller/TagController.php | |||
@@ -16,9 +16,6 @@ use Wallabag\CoreBundle\Form\Type\RenameTagType; | |||
16 | class TagController extends Controller | 16 | class TagController extends Controller |
17 | { | 17 | { |
18 | /** | 18 | /** |
19 | * @param Request $request | ||
20 | * @param Entry $entry | ||
21 | * | ||
22 | * @Route("/new-tag/{entry}", requirements={"entry" = "\d+"}, name="new_tag") | 19 | * @Route("/new-tag/{entry}", requirements={"entry" = "\d+"}, name="new_tag") |
23 | * | 20 | * |
24 | * @return \Symfony\Component\HttpFoundation\Response | 21 | * @return \Symfony\Component\HttpFoundation\Response |
@@ -103,7 +100,6 @@ class TagController extends Controller | |||
103 | } | 100 | } |
104 | 101 | ||
105 | /** | 102 | /** |
106 | * @param Tag $tag | ||
107 | * @param int $page | 103 | * @param int $page |
108 | * | 104 | * |
109 | * @Route("/tag/list/{slug}/{page}", name="tag_entries", defaults={"page" = "1"}) | 105 | * @Route("/tag/list/{slug}/{page}", name="tag_entries", defaults={"page" = "1"}) |
@@ -145,9 +141,6 @@ class TagController extends Controller | |||
145 | * Rename a given tag with a new label | 141 | * Rename a given tag with a new label |
146 | * Create a new tag with the new name and drop the old one. | 142 | * Create a new tag with the new name and drop the old one. |
147 | * | 143 | * |
148 | * @param Tag $tag | ||
149 | * @param Request $request | ||
150 | * | ||
151 | * @Route("/tag/rename/{slug}", name="tag_rename") | 144 | * @Route("/tag/rename/{slug}", name="tag_rename") |
152 | * @ParamConverter("tag", options={"mapping": {"slug": "slug"}}) | 145 | * @ParamConverter("tag", options={"mapping": {"slug": "slug"}}) |
153 | * | 146 | * |
diff --git a/src/Wallabag/CoreBundle/Entity/Config.php b/src/Wallabag/CoreBundle/Entity/Config.php index 35be9655..fe7942ee 100644 --- a/src/Wallabag/CoreBundle/Entity/Config.php +++ b/src/Wallabag/CoreBundle/Entity/Config.php | |||
@@ -371,8 +371,6 @@ class Config | |||
371 | } | 371 | } |
372 | 372 | ||
373 | /** | 373 | /** |
374 | * @param TaggingRule $rule | ||
375 | * | ||
376 | * @return Config | 374 | * @return Config |
377 | */ | 375 | */ |
378 | public function addTaggingRule(TaggingRule $rule) | 376 | public function addTaggingRule(TaggingRule $rule) |
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php index 4acec261..beda581a 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php | |||
@@ -550,8 +550,6 @@ class Entry | |||
550 | * Set created_at. | 550 | * Set created_at. |
551 | * Only used when importing data from an other service. | 551 | * Only used when importing data from an other service. |
552 | * | 552 | * |
553 | * @param \DateTime $createdAt | ||
554 | * | ||
555 | * @return Entry | 553 | * @return Entry |
556 | */ | 554 | */ |
557 | public function setCreatedAt(\DateTime $createdAt) | 555 | public function setCreatedAt(\DateTime $createdAt) |
@@ -623,9 +621,6 @@ class Entry | |||
623 | return $this->annotations; | 621 | return $this->annotations; |
624 | } | 622 | } |
625 | 623 | ||
626 | /** | ||
627 | * @param Annotation $annotation | ||
628 | */ | ||
629 | public function setAnnotation(Annotation $annotation) | 624 | public function setAnnotation(Annotation $annotation) |
630 | { | 625 | { |
631 | $this->annotations[] = $annotation; | 626 | $this->annotations[] = $annotation; |
@@ -702,9 +697,6 @@ class Entry | |||
702 | return $data; | 697 | return $data; |
703 | } | 698 | } |
704 | 699 | ||
705 | /** | ||
706 | * @param Tag $tag | ||
707 | */ | ||
708 | public function addTag(Tag $tag) | 700 | public function addTag(Tag $tag) |
709 | { | 701 | { |
710 | if ($this->tags->contains($tag)) { | 702 | if ($this->tags->contains($tag)) { |
@@ -725,8 +717,6 @@ class Entry | |||
725 | 717 | ||
726 | /** | 718 | /** |
727 | * Remove the given tag from the entry (if the tag is associated). | 719 | * Remove the given tag from the entry (if the tag is associated). |
728 | * | ||
729 | * @param Tag $tag | ||
730 | */ | 720 | */ |
731 | public function removeTag(Tag $tag) | 721 | public function removeTag(Tag $tag) |
732 | { | 722 | { |
@@ -874,8 +864,6 @@ class Entry | |||
874 | } | 864 | } |
875 | 865 | ||
876 | /** | 866 | /** |
877 | * @param \Datetime $publishedAt | ||
878 | * | ||
879 | * @return Entry | 867 | * @return Entry |
880 | */ | 868 | */ |
881 | public function setPublishedAt(\Datetime $publishedAt) | 869 | public function setPublishedAt(\Datetime $publishedAt) |
diff --git a/src/Wallabag/CoreBundle/Entity/Tag.php b/src/Wallabag/CoreBundle/Entity/Tag.php index 3ccb20a5..9fb2f94f 100644 --- a/src/Wallabag/CoreBundle/Entity/Tag.php +++ b/src/Wallabag/CoreBundle/Entity/Tag.php | |||
@@ -104,9 +104,6 @@ class Tag | |||
104 | return $this->slug; | 104 | return $this->slug; |
105 | } | 105 | } |
106 | 106 | ||
107 | /** | ||
108 | * @param Entry $entry | ||
109 | */ | ||
110 | public function addEntry(Entry $entry) | 107 | public function addEntry(Entry $entry) |
111 | { | 108 | { |
112 | if ($this->entries->contains($entry)) { | 109 | if ($this->entries->contains($entry)) { |
@@ -117,9 +114,6 @@ class Tag | |||
117 | $entry->addTag($this); | 114 | $entry->addTag($this); |
118 | } | 115 | } |
119 | 116 | ||
120 | /** | ||
121 | * @param Entry $entry | ||
122 | */ | ||
123 | public function removeEntry(Entry $entry) | 117 | public function removeEntry(Entry $entry) |
124 | { | 118 | { |
125 | if (!$this->entries->contains($entry)) { | 119 | if (!$this->entries->contains($entry)) { |
diff --git a/src/Wallabag/CoreBundle/Entity/TaggingRule.php b/src/Wallabag/CoreBundle/Entity/TaggingRule.php index eac53fa3..f7166087 100644 --- a/src/Wallabag/CoreBundle/Entity/TaggingRule.php +++ b/src/Wallabag/CoreBundle/Entity/TaggingRule.php | |||
@@ -121,8 +121,6 @@ class TaggingRule | |||
121 | /** | 121 | /** |
122 | * Set config. | 122 | * Set config. |
123 | * | 123 | * |
124 | * @param Config $config | ||
125 | * | ||
126 | * @return TaggingRule | 124 | * @return TaggingRule |
127 | */ | 125 | */ |
128 | public function setConfig(Config $config) | 126 | public function setConfig(Config $config) |
diff --git a/src/Wallabag/CoreBundle/Event/Listener/UserLocaleListener.php b/src/Wallabag/CoreBundle/Event/Listener/UserLocaleListener.php index dc1db5c7..1b5d61ad 100644 --- a/src/Wallabag/CoreBundle/Event/Listener/UserLocaleListener.php +++ b/src/Wallabag/CoreBundle/Event/Listener/UserLocaleListener.php | |||
@@ -25,9 +25,6 @@ class UserLocaleListener | |||
25 | $this->session = $session; | 25 | $this->session = $session; |
26 | } | 26 | } |
27 | 27 | ||
28 | /** | ||
29 | * @param InteractiveLoginEvent $event | ||
30 | */ | ||
31 | public function onInteractiveLogin(InteractiveLoginEvent $event) | 28 | public function onInteractiveLogin(InteractiveLoginEvent $event) |
32 | { | 29 | { |
33 | $user = $event->getAuthenticationToken()->getUser(); | 30 | $user = $event->getAuthenticationToken()->getUser(); |
diff --git a/src/Wallabag/CoreBundle/Event/Subscriber/CustomDoctrineORMSubscriber.php b/src/Wallabag/CoreBundle/Event/Subscriber/CustomDoctrineORMSubscriber.php index cabb3eca..b8f6e1d6 100644 --- a/src/Wallabag/CoreBundle/Event/Subscriber/CustomDoctrineORMSubscriber.php +++ b/src/Wallabag/CoreBundle/Event/Subscriber/CustomDoctrineORMSubscriber.php | |||
@@ -12,9 +12,6 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |||
12 | */ | 12 | */ |
13 | class CustomDoctrineORMSubscriber extends DoctrineORMSubscriber implements EventSubscriberInterface | 13 | class CustomDoctrineORMSubscriber extends DoctrineORMSubscriber implements EventSubscriberInterface |
14 | { | 14 | { |
15 | /** | ||
16 | * @param GetFilterConditionEvent $event | ||
17 | */ | ||
18 | public function filterDateRange(GetFilterConditionEvent $event) | 15 | public function filterDateRange(GetFilterConditionEvent $event) |
19 | { | 16 | { |
20 | $expr = $event->getFilterQuery()->getExpressionBuilder(); | 17 | $expr = $event->getFilterQuery()->getExpressionBuilder(); |
diff --git a/src/Wallabag/CoreBundle/Event/Subscriber/DownloadImagesSubscriber.php b/src/Wallabag/CoreBundle/Event/Subscriber/DownloadImagesSubscriber.php index 1dd0a1a4..ef8d7d3b 100644 --- a/src/Wallabag/CoreBundle/Event/Subscriber/DownloadImagesSubscriber.php +++ b/src/Wallabag/CoreBundle/Event/Subscriber/DownloadImagesSubscriber.php | |||
@@ -35,8 +35,6 @@ class DownloadImagesSubscriber implements EventSubscriberInterface | |||
35 | 35 | ||
36 | /** | 36 | /** |
37 | * Download images and updated the data into the entry. | 37 | * Download images and updated the data into the entry. |
38 | * | ||
39 | * @param EntrySavedEvent $event | ||
40 | */ | 38 | */ |
41 | public function onEntrySaved(EntrySavedEvent $event) | 39 | public function onEntrySaved(EntrySavedEvent $event) |
42 | { | 40 | { |
@@ -69,8 +67,6 @@ class DownloadImagesSubscriber implements EventSubscriberInterface | |||
69 | 67 | ||
70 | /** | 68 | /** |
71 | * Remove images related to the entry. | 69 | * Remove images related to the entry. |
72 | * | ||
73 | * @param EntryDeletedEvent $event | ||
74 | */ | 70 | */ |
75 | public function onEntryDeleted(EntryDeletedEvent $event) | 71 | public function onEntryDeleted(EntryDeletedEvent $event) |
76 | { | 72 | { |
@@ -88,8 +84,6 @@ class DownloadImagesSubscriber implements EventSubscriberInterface | |||
88 | * | 84 | * |
89 | * @todo If we want to add async download, it should be done in that method | 85 | * @todo If we want to add async download, it should be done in that method |
90 | * | 86 | * |
91 | * @param Entry $entry | ||
92 | * | ||
93 | * @return string|false False in case of async | 87 | * @return string|false False in case of async |
94 | */ | 88 | */ |
95 | private function downloadImages(Entry $entry) | 89 | private function downloadImages(Entry $entry) |
@@ -106,8 +100,6 @@ class DownloadImagesSubscriber implements EventSubscriberInterface | |||
106 | * | 100 | * |
107 | * @todo If we want to add async download, it should be done in that method | 101 | * @todo If we want to add async download, it should be done in that method |
108 | * | 102 | * |
109 | * @param Entry $entry | ||
110 | * | ||
111 | * @return string|false False in case of async | 103 | * @return string|false False in case of async |
112 | */ | 104 | */ |
113 | private function downloadPreviewImage(Entry $entry) | 105 | private function downloadPreviewImage(Entry $entry) |
diff --git a/src/Wallabag/CoreBundle/Event/Subscriber/SQLiteCascadeDeleteSubscriber.php b/src/Wallabag/CoreBundle/Event/Subscriber/SQLiteCascadeDeleteSubscriber.php index 9c1d8a1d..dcadeedf 100644 --- a/src/Wallabag/CoreBundle/Event/Subscriber/SQLiteCascadeDeleteSubscriber.php +++ b/src/Wallabag/CoreBundle/Event/Subscriber/SQLiteCascadeDeleteSubscriber.php | |||
@@ -18,9 +18,6 @@ class SQLiteCascadeDeleteSubscriber implements EventSubscriber | |||
18 | { | 18 | { |
19 | private $doctrine; | 19 | private $doctrine; |
20 | 20 | ||
21 | /** | ||
22 | * @param \Doctrine\Bundle\DoctrineBundle\Registry $doctrine | ||
23 | */ | ||
24 | public function __construct(Registry $doctrine) | 21 | public function __construct(Registry $doctrine) |
25 | { | 22 | { |
26 | $this->doctrine = $doctrine; | 23 | $this->doctrine = $doctrine; |
@@ -39,8 +36,6 @@ class SQLiteCascadeDeleteSubscriber implements EventSubscriber | |||
39 | /** | 36 | /** |
40 | * We removed everything related to the upcoming removed entry because SQLite can't handle it on it own. | 37 | * We removed everything related to the upcoming removed entry because SQLite can't handle it on it own. |
41 | * We do it in the preRemove, because we can't retrieve tags in the postRemove (because the entry id is gone). | 38 | * We do it in the preRemove, because we can't retrieve tags in the postRemove (because the entry id is gone). |
42 | * | ||
43 | * @param LifecycleEventArgs $args | ||
44 | */ | 39 | */ |
45 | public function preRemove(LifecycleEventArgs $args) | 40 | public function preRemove(LifecycleEventArgs $args) |
46 | { | 41 | { |
diff --git a/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php b/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php index 8a575b68..17070c59 100644 --- a/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php +++ b/src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php | |||
@@ -23,9 +23,6 @@ class EntryFilterType extends AbstractType | |||
23 | 23 | ||
24 | /** | 24 | /** |
25 | * Repository & user are used to get a list of language entries for this user. | 25 | * Repository & user are used to get a list of language entries for this user. |
26 | * | ||
27 | * @param EntityRepository $entryRepository | ||
28 | * @param TokenStorageInterface $tokenStorage | ||
29 | */ | 26 | */ |
30 | public function __construct(EntityRepository $entryRepository, TokenStorageInterface $tokenStorage) | 27 | public function __construct(EntityRepository $entryRepository, TokenStorageInterface $tokenStorage) |
31 | { | 28 | { |
diff --git a/src/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilder.php b/src/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilder.php index c7502bac..b0be2176 100644 --- a/src/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilder.php +++ b/src/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilder.php | |||
@@ -34,11 +34,6 @@ class GrabySiteConfigBuilder implements SiteConfigBuilder | |||
34 | 34 | ||
35 | /** | 35 | /** |
36 | * GrabySiteConfigBuilder constructor. | 36 | * GrabySiteConfigBuilder constructor. |
37 | * | ||
38 | * @param ConfigBuilder $grabyConfigBuilder | ||
39 | * @param TokenStorage $token | ||
40 | * @param SiteCredentialRepository $credentialRepository | ||
41 | * @param LoggerInterface $logger | ||
42 | */ | 37 | */ |
43 | public function __construct(ConfigBuilder $grabyConfigBuilder, TokenStorage $token, SiteCredentialRepository $credentialRepository, LoggerInterface $logger) | 38 | public function __construct(ConfigBuilder $grabyConfigBuilder, TokenStorage $token, SiteCredentialRepository $credentialRepository, LoggerInterface $logger) |
44 | { | 39 | { |
diff --git a/src/Wallabag/CoreBundle/Helper/ContentProxy.php b/src/Wallabag/CoreBundle/Helper/ContentProxy.php index 5901df8b..9c6fa8db 100644 --- a/src/Wallabag/CoreBundle/Helper/ContentProxy.php +++ b/src/Wallabag/CoreBundle/Helper/ContentProxy.php | |||
@@ -86,7 +86,6 @@ class ContentProxy | |||
86 | /** | 86 | /** |
87 | * Use a Symfony validator to ensure the language is well formatted. | 87 | * Use a Symfony validator to ensure the language is well formatted. |
88 | * | 88 | * |
89 | * @param Entry $entry | ||
90 | * @param string $value Language to validate and save | 89 | * @param string $value Language to validate and save |
91 | */ | 90 | */ |
92 | public function updateLanguage(Entry $entry, $value) | 91 | public function updateLanguage(Entry $entry, $value) |
@@ -112,7 +111,6 @@ class ContentProxy | |||
112 | /** | 111 | /** |
113 | * Use a Symfony validator to ensure the preview picture is a real url. | 112 | * Use a Symfony validator to ensure the preview picture is a real url. |
114 | * | 113 | * |
115 | * @param Entry $entry | ||
116 | * @param string $value URL to validate and save | 114 | * @param string $value URL to validate and save |
117 | */ | 115 | */ |
118 | public function updatePreviewPicture(Entry $entry, $value) | 116 | public function updatePreviewPicture(Entry $entry, $value) |
@@ -134,7 +132,6 @@ class ContentProxy | |||
134 | /** | 132 | /** |
135 | * Update date. | 133 | * Update date. |
136 | * | 134 | * |
137 | * @param Entry $entry | ||
138 | * @param string $value Date to validate and save | 135 | * @param string $value Date to validate and save |
139 | */ | 136 | */ |
140 | public function updatePublishedAt(Entry $entry, $value) | 137 | public function updatePublishedAt(Entry $entry, $value) |
@@ -161,8 +158,6 @@ class ContentProxy | |||
161 | 158 | ||
162 | /** | 159 | /** |
163 | * Helper to extract and save host from entry url. | 160 | * Helper to extract and save host from entry url. |
164 | * | ||
165 | * @param Entry $entry | ||
166 | */ | 161 | */ |
167 | public function setEntryDomainName(Entry $entry) | 162 | public function setEntryDomainName(Entry $entry) |
168 | { | 163 | { |
@@ -176,8 +171,6 @@ class ContentProxy | |||
176 | * Helper to set a default title using: | 171 | * Helper to set a default title using: |
177 | * - url basename, if applicable | 172 | * - url basename, if applicable |
178 | * - hostname. | 173 | * - hostname. |
179 | * | ||
180 | * @param Entry $entry | ||
181 | */ | 174 | */ |
182 | public function setDefaultEntryTitle(Entry $entry) | 175 | public function setDefaultEntryTitle(Entry $entry) |
183 | { | 176 | { |
@@ -333,7 +326,6 @@ class ContentProxy | |||
333 | * Update the origin_url field when a redirection occurs | 326 | * Update the origin_url field when a redirection occurs |
334 | * This field is set if it is empty and new url does not match ignore list. | 327 | * This field is set if it is empty and new url does not match ignore list. |
335 | * | 328 | * |
336 | * @param Entry $entry | ||
337 | * @param string $url | 329 | * @param string $url |
338 | */ | 330 | */ |
339 | private function updateOriginUrl(Entry $entry, $url) | 331 | private function updateOriginUrl(Entry $entry, $url) |
@@ -441,8 +433,6 @@ class ContentProxy | |||
441 | /** | 433 | /** |
442 | * Validate that the given content has at least a title, an html and a url. | 434 | * Validate that the given content has at least a title, an html and a url. |
443 | * | 435 | * |
444 | * @param array $content | ||
445 | * | ||
446 | * @return bool true if valid otherwise false | 436 | * @return bool true if valid otherwise false |
447 | */ | 437 | */ |
448 | private function validateContent(array $content) | 438 | private function validateContent(array $content) |
diff --git a/src/Wallabag/CoreBundle/Helper/DownloadImages.php b/src/Wallabag/CoreBundle/Helper/DownloadImages.php index 1d361d6d..1d98fd1a 100644 --- a/src/Wallabag/CoreBundle/Helper/DownloadImages.php +++ b/src/Wallabag/CoreBundle/Helper/DownloadImages.php | |||
@@ -213,8 +213,6 @@ class DownloadImages | |||
213 | /** | 213 | /** |
214 | * Get images urls from the srcset image attribute. | 214 | * Get images urls from the srcset image attribute. |
215 | * | 215 | * |
216 | * @param Crawler $imagesCrawler | ||
217 | * | ||
218 | * @return array An array of urls | 216 | * @return array An array of urls |
219 | */ | 217 | */ |
220 | private static function getSrcsetUrls(Crawler $imagesCrawler) | 218 | private static function getSrcsetUrls(Crawler $imagesCrawler) |
diff --git a/src/Wallabag/CoreBundle/Helper/HttpClientFactory.php b/src/Wallabag/CoreBundle/Helper/HttpClientFactory.php index b8e95381..ea864acb 100644 --- a/src/Wallabag/CoreBundle/Helper/HttpClientFactory.php +++ b/src/Wallabag/CoreBundle/Helper/HttpClientFactory.php | |||
@@ -27,9 +27,7 @@ class HttpClientFactory implements ClientFactory | |||
27 | /** | 27 | /** |
28 | * HttpClientFactory constructor. | 28 | * HttpClientFactory constructor. |
29 | * | 29 | * |
30 | * @param \GuzzleHttp\Cookie\CookieJar $cookieJar | 30 | * @param string $restrictedAccess This param is a kind of boolean. Values: 0 or 1 |
31 | * @param string $restrictedAccess This param is a kind of boolean. Values: 0 or 1 | ||
32 | * @param LoggerInterface $logger | ||
33 | */ | 31 | */ |
34 | public function __construct(CookieJar $cookieJar, $restrictedAccess, LoggerInterface $logger) | 32 | public function __construct(CookieJar $cookieJar, $restrictedAccess, LoggerInterface $logger) |
35 | { | 33 | { |
@@ -40,8 +38,6 @@ class HttpClientFactory implements ClientFactory | |||
40 | 38 | ||
41 | /** | 39 | /** |
42 | * Adds a subscriber to the HTTP client. | 40 | * Adds a subscriber to the HTTP client. |
43 | * | ||
44 | * @param SubscriberInterface $subscriber | ||
45 | */ | 41 | */ |
46 | public function addSubscriber(SubscriberInterface $subscriber) | 42 | public function addSubscriber(SubscriberInterface $subscriber) |
47 | { | 43 | { |
@@ -51,8 +47,6 @@ class HttpClientFactory implements ClientFactory | |||
51 | /** | 47 | /** |
52 | * Input an array of configuration to be able to create a HttpClient. | 48 | * Input an array of configuration to be able to create a HttpClient. |
53 | * | 49 | * |
54 | * @param array $config | ||
55 | * | ||
56 | * @return HttpClient | 50 | * @return HttpClient |
57 | */ | 51 | */ |
58 | public function createClient(array $config = []) | 52 | public function createClient(array $config = []) |
diff --git a/src/Wallabag/CoreBundle/Helper/PreparePagerForEntries.php b/src/Wallabag/CoreBundle/Helper/PreparePagerForEntries.php index 04abc6d0..3d56a6d8 100644 --- a/src/Wallabag/CoreBundle/Helper/PreparePagerForEntries.php +++ b/src/Wallabag/CoreBundle/Helper/PreparePagerForEntries.php | |||
@@ -20,8 +20,7 @@ class PreparePagerForEntries | |||
20 | } | 20 | } |
21 | 21 | ||
22 | /** | 22 | /** |
23 | * @param AdapterInterface $adapter | 23 | * @param User $user If user isn't logged in, we can force it (like for feed) |
24 | * @param User $user If user isn't logged in, we can force it (like for feed) | ||
25 | * | 24 | * |
26 | * @return Pagerfanta|null | 25 | * @return Pagerfanta|null |
27 | */ | 26 | */ |
diff --git a/src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php b/src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php index fbdf2ac7..d48e2469 100644 --- a/src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php +++ b/src/Wallabag/CoreBundle/Helper/RuleBasedTagger.php | |||
@@ -56,8 +56,6 @@ class RuleBasedTagger | |||
56 | /** | 56 | /** |
57 | * Apply all the tagging rules defined by a user on its entries. | 57 | * Apply all the tagging rules defined by a user on its entries. |
58 | * | 58 | * |
59 | * @param User $user | ||
60 | * | ||
61 | * @return array<Entry> A list of modified entries | 59 | * @return array<Entry> A list of modified entries |
62 | */ | 60 | */ |
63 | public function tagAllForUser(User $user) | 61 | public function tagAllForUser(User $user) |
@@ -109,8 +107,6 @@ class RuleBasedTagger | |||
109 | /** | 107 | /** |
110 | * Retrieves the tagging rules for a given user. | 108 | * Retrieves the tagging rules for a given user. |
111 | * | 109 | * |
112 | * @param User $user | ||
113 | * | ||
114 | * @return array<TaggingRule> | 110 | * @return array<TaggingRule> |
115 | */ | 111 | */ |
116 | private function getRulesForUser(User $user) | 112 | private function getRulesForUser(User $user) |
diff --git a/src/Wallabag/CoreBundle/Helper/TagsAssigner.php b/src/Wallabag/CoreBundle/Helper/TagsAssigner.php index e6b4989f..433b09fe 100644 --- a/src/Wallabag/CoreBundle/Helper/TagsAssigner.php +++ b/src/Wallabag/CoreBundle/Helper/TagsAssigner.php | |||
@@ -21,7 +21,6 @@ class TagsAssigner | |||
21 | /** | 21 | /** |
22 | * Assign some tags to an entry. | 22 | * Assign some tags to an entry. |
23 | * | 23 | * |
24 | * @param Entry $entry | ||
25 | * @param array|string $tags An array of tag or a string coma separated of tag | 24 | * @param array|string $tags An array of tag or a string coma separated of tag |
26 | * @param array $entitiesReady Entities from the EntityManager which are persisted but not yet flushed | 25 | * @param array $entitiesReady Entities from the EntityManager which are persisted but not yet flushed |
27 | * It is mostly to fix duplicate tag on import @see http://stackoverflow.com/a/7879164/569101 | 26 | * It is mostly to fix duplicate tag on import @see http://stackoverflow.com/a/7879164/569101 |
diff --git a/src/Wallabag/CoreBundle/Helper/UrlHasher.php b/src/Wallabag/CoreBundle/Helper/UrlHasher.php index d123eaba..6753745f 100644 --- a/src/Wallabag/CoreBundle/Helper/UrlHasher.php +++ b/src/Wallabag/CoreBundle/Helper/UrlHasher.php | |||
@@ -11,7 +11,6 @@ class UrlHasher | |||
11 | * Hash the given url using the given algorithm. | 11 | * Hash the given url using the given algorithm. |
12 | * Hashed url are faster to be retrieved in the database than the real url. | 12 | * Hashed url are faster to be retrieved in the database than the real url. |
13 | * | 13 | * |
14 | * @param string $url | ||
15 | * @param string $algorithm | 14 | * @param string $algorithm |
16 | * | 15 | * |
17 | * @return string | 16 | * @return string |
diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php index d9675982..bfd07937 100644 --- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php +++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php | |||
@@ -306,7 +306,6 @@ class EntryRepository extends EntityRepository | |||
306 | * DELETE et FROM entry_tag et WHERE et.entry_id IN ( SELECT e.id FROM entry e WHERE e.user_id = :userId ) AND et.tag_id = :tagId | 306 | * DELETE et FROM entry_tag et WHERE et.entry_id IN ( SELECT e.id FROM entry e WHERE e.user_id = :userId ) AND et.tag_id = :tagId |
307 | * | 307 | * |
308 | * @param int $userId | 308 | * @param int $userId |
309 | * @param Tag $tag | ||
310 | */ | 309 | */ |
311 | public function removeTag($userId, Tag $tag) | 310 | public function removeTag($userId, Tag $tag) |
312 | { | 311 | { |
@@ -565,9 +564,8 @@ class EntryRepository extends EntityRepository | |||
565 | /** | 564 | /** |
566 | * Return the given QueryBuilder with an orderBy() call. | 565 | * Return the given QueryBuilder with an orderBy() call. |
567 | * | 566 | * |
568 | * @param QueryBuilder $qb | 567 | * @param string $sortBy |
569 | * @param string $sortBy | 568 | * @param string $direction |
570 | * @param string $direction | ||
571 | * | 569 | * |
572 | * @return QueryBuilder | 570 | * @return QueryBuilder |
573 | */ | 571 | */ |
diff --git a/src/Wallabag/ImportBundle/Controller/BrowserController.php b/src/Wallabag/ImportBundle/Controller/BrowserController.php index 58d2a730..8c2bdfe5 100644 --- a/src/Wallabag/ImportBundle/Controller/BrowserController.php +++ b/src/Wallabag/ImportBundle/Controller/BrowserController.php | |||
@@ -13,8 +13,6 @@ abstract class BrowserController extends Controller | |||
13 | /** | 13 | /** |
14 | * @Route("/browser", name="import_browser") | 14 | * @Route("/browser", name="import_browser") |
15 | * | 15 | * |
16 | * @param Request $request | ||
17 | * | ||
18 | * @return Response | 16 | * @return Response |
19 | */ | 17 | */ |
20 | public function indexAction(Request $request) | 18 | public function indexAction(Request $request) |
diff --git a/src/Wallabag/ImportBundle/Controller/WallabagController.php b/src/Wallabag/ImportBundle/Controller/WallabagController.php index d182dd2c..5180006d 100644 --- a/src/Wallabag/ImportBundle/Controller/WallabagController.php +++ b/src/Wallabag/ImportBundle/Controller/WallabagController.php | |||
@@ -16,8 +16,6 @@ abstract class WallabagController extends Controller | |||
16 | /** | 16 | /** |
17 | * Handle import request. | 17 | * Handle import request. |
18 | * | 18 | * |
19 | * @param Request $request | ||
20 | * | ||
21 | * @return Response|RedirectResponse | 19 | * @return Response|RedirectResponse |
22 | */ | 20 | */ |
23 | public function indexAction(Request $request) | 21 | public function indexAction(Request $request) |
diff --git a/src/Wallabag/ImportBundle/Import/AbstractImport.php b/src/Wallabag/ImportBundle/Import/AbstractImport.php index d39d71b6..1b073e99 100644 --- a/src/Wallabag/ImportBundle/Import/AbstractImport.php +++ b/src/Wallabag/ImportBundle/Import/AbstractImport.php | |||
@@ -46,8 +46,6 @@ abstract class AbstractImport implements ImportInterface | |||
46 | /** | 46 | /** |
47 | * Set RabbitMQ/Redis Producer to send each entry to a queue. | 47 | * Set RabbitMQ/Redis Producer to send each entry to a queue. |
48 | * This method should be called when user has enabled RabbitMQ. | 48 | * This method should be called when user has enabled RabbitMQ. |
49 | * | ||
50 | * @param ProducerInterface $producer | ||
51 | */ | 49 | */ |
52 | public function setProducer(ProducerInterface $producer) | 50 | public function setProducer(ProducerInterface $producer) |
53 | { | 51 | { |
@@ -57,8 +55,6 @@ abstract class AbstractImport implements ImportInterface | |||
57 | /** | 55 | /** |
58 | * Set current user. | 56 | * Set current user. |
59 | * Could the current *connected* user or one retrieve by the consumer. | 57 | * Could the current *connected* user or one retrieve by the consumer. |
60 | * | ||
61 | * @param User $user | ||
62 | */ | 58 | */ |
63 | public function setUser(User $user) | 59 | public function setUser(User $user) |
64 | { | 60 | { |
@@ -112,8 +108,6 @@ abstract class AbstractImport implements ImportInterface | |||
112 | /** | 108 | /** |
113 | * Parse one entry. | 109 | * Parse one entry. |
114 | * | 110 | * |
115 | * @param array $importedEntry | ||
116 | * | ||
117 | * @return Entry | 111 | * @return Entry |
118 | */ | 112 | */ |
119 | abstract public function parseEntry(array $importedEntry); | 113 | abstract public function parseEntry(array $importedEntry); |
@@ -121,8 +115,6 @@ abstract class AbstractImport implements ImportInterface | |||
121 | /** | 115 | /** |
122 | * Validate that an entry is valid (like has some required keys, etc.). | 116 | * Validate that an entry is valid (like has some required keys, etc.). |
123 | * | 117 | * |
124 | * @param array $importedEntry | ||
125 | * | ||
126 | * @return bool | 118 | * @return bool |
127 | */ | 119 | */ |
128 | abstract public function validateEntry(array $importedEntry); | 120 | abstract public function validateEntry(array $importedEntry); |
@@ -149,8 +141,6 @@ abstract class AbstractImport implements ImportInterface | |||
149 | 141 | ||
150 | /** | 142 | /** |
151 | * Parse and insert all given entries. | 143 | * Parse and insert all given entries. |
152 | * | ||
153 | * @param array $entries | ||
154 | */ | 144 | */ |
155 | protected function parseEntries(array $entries) | 145 | protected function parseEntries(array $entries) |
156 | { | 146 | { |
@@ -210,8 +200,6 @@ abstract class AbstractImport implements ImportInterface | |||
210 | * | 200 | * |
211 | * Faster parse entries for Producer. | 201 | * Faster parse entries for Producer. |
212 | * We don't care to make check at this time. They'll be done by the consumer. | 202 | * We don't care to make check at this time. They'll be done by the consumer. |
213 | * | ||
214 | * @param array $entries | ||
215 | */ | 203 | */ |
216 | protected function parseEntriesForProducer(array $entries) | 204 | protected function parseEntriesForProducer(array $entries) |
217 | { | 205 | { |
@@ -233,8 +221,6 @@ abstract class AbstractImport implements ImportInterface | |||
233 | * Set current imported entry to archived / read. | 221 | * Set current imported entry to archived / read. |
234 | * Implementation is different accross all imports. | 222 | * Implementation is different accross all imports. |
235 | * | 223 | * |
236 | * @param array $importedEntry | ||
237 | * | ||
238 | * @return array | 224 | * @return array |
239 | */ | 225 | */ |
240 | abstract protected function setEntryAsRead(array $importedEntry); | 226 | abstract protected function setEntryAsRead(array $importedEntry); |
diff --git a/src/Wallabag/ImportBundle/Import/BrowserImport.php b/src/Wallabag/ImportBundle/Import/BrowserImport.php index 3987e80f..ea7afd3d 100644 --- a/src/Wallabag/ImportBundle/Import/BrowserImport.php +++ b/src/Wallabag/ImportBundle/Import/BrowserImport.php | |||
@@ -148,8 +148,6 @@ abstract class BrowserImport extends AbstractImport | |||
148 | 148 | ||
149 | /** | 149 | /** |
150 | * Parse and insert all given entries. | 150 | * Parse and insert all given entries. |
151 | * | ||
152 | * @param array $entries | ||
153 | */ | 151 | */ |
154 | protected function parseEntries(array $entries) | 152 | protected function parseEntries(array $entries) |
155 | { | 153 | { |
@@ -199,8 +197,6 @@ abstract class BrowserImport extends AbstractImport | |||
199 | * | 197 | * |
200 | * Faster parse entries for Producer. | 198 | * Faster parse entries for Producer. |
201 | * We don't care to make check at this time. They'll be done by the consumer. | 199 | * We don't care to make check at this time. They'll be done by the consumer. |
202 | * | ||
203 | * @param array $entries | ||
204 | */ | 200 | */ |
205 | protected function parseEntriesForProducer(array $entries) | 201 | protected function parseEntriesForProducer(array $entries) |
206 | { | 202 | { |
diff --git a/src/Wallabag/ImportBundle/Import/ImportChain.php b/src/Wallabag/ImportBundle/Import/ImportChain.php index 9dd77956..e1b5867d 100644 --- a/src/Wallabag/ImportBundle/Import/ImportChain.php +++ b/src/Wallabag/ImportBundle/Import/ImportChain.php | |||
@@ -14,8 +14,7 @@ class ImportChain | |||
14 | /** | 14 | /** |
15 | * Add an import to the chain. | 15 | * Add an import to the chain. |
16 | * | 16 | * |
17 | * @param ImportInterface $import | 17 | * @param string $alias |
18 | * @param string $alias | ||
19 | */ | 18 | */ |
20 | public function addImport(ImportInterface $import, $alias) | 19 | public function addImport(ImportInterface $import, $alias) |
21 | { | 20 | { |
diff --git a/src/Wallabag/ImportBundle/Import/PocketImport.php b/src/Wallabag/ImportBundle/Import/PocketImport.php index 746120af..24fdaa2b 100644 --- a/src/Wallabag/ImportBundle/Import/PocketImport.php +++ b/src/Wallabag/ImportBundle/Import/PocketImport.php | |||
@@ -151,9 +151,6 @@ class PocketImport extends AbstractImport | |||
151 | 151 | ||
152 | /** | 152 | /** |
153 | * Set the Http client. | 153 | * Set the Http client. |
154 | * | ||
155 | * @param HttpClient $client | ||
156 | * @param MessageFactory|null $messageFactory | ||
157 | */ | 154 | */ |
158 | public function setClient(HttpClient $client, MessageFactory $messageFactory = null) | 155 | public function setClient(HttpClient $client, MessageFactory $messageFactory = null) |
159 | { | 156 | { |
diff --git a/src/Wallabag/UserBundle/Controller/ManageController.php b/src/Wallabag/UserBundle/Controller/ManageController.php index 63a06206..1122f8f0 100644 --- a/src/Wallabag/UserBundle/Controller/ManageController.php +++ b/src/Wallabag/UserBundle/Controller/ManageController.php | |||
@@ -127,8 +127,7 @@ class ManageController extends Controller | |||
127 | } | 127 | } |
128 | 128 | ||
129 | /** | 129 | /** |
130 | * @param Request $request | 130 | * @param int $page |
131 | * @param int $page | ||
132 | * | 131 | * |
133 | * @Route("/list/{page}", name="user_index", defaults={"page" = 1}) | 132 | * @Route("/list/{page}", name="user_index", defaults={"page" = 1}) |
134 | * | 133 | * |
diff --git a/src/Wallabag/UserBundle/Entity/User.php b/src/Wallabag/UserBundle/Entity/User.php index 43fa6a80..aeab761d 100644 --- a/src/Wallabag/UserBundle/Entity/User.php +++ b/src/Wallabag/UserBundle/Entity/User.php | |||
@@ -188,8 +188,6 @@ class User extends BaseUser implements EmailTwoFactorInterface, GoogleTwoFactorI | |||
188 | } | 188 | } |
189 | 189 | ||
190 | /** | 190 | /** |
191 | * @param Entry $entry | ||
192 | * | ||
193 | * @return User | 191 | * @return User |
194 | */ | 192 | */ |
195 | public function addEntry(Entry $entry) | 193 | public function addEntry(Entry $entry) |
@@ -355,8 +353,6 @@ class User extends BaseUser implements EmailTwoFactorInterface, GoogleTwoFactorI | |||
355 | } | 353 | } |
356 | 354 | ||
357 | /** | 355 | /** |
358 | * @param Client $client | ||
359 | * | ||
360 | * @return User | 356 | * @return User |
361 | */ | 357 | */ |
362 | public function addClient(Client $client) | 358 | public function addClient(Client $client) |
diff --git a/src/Wallabag/UserBundle/Form/UserType.php b/src/Wallabag/UserBundle/Form/UserType.php index 026db9a2..03fad971 100644 --- a/src/Wallabag/UserBundle/Form/UserType.php +++ b/src/Wallabag/UserBundle/Form/UserType.php | |||
@@ -12,10 +12,6 @@ use Symfony\Component\OptionsResolver\OptionsResolver; | |||
12 | 12 | ||
13 | class UserType extends AbstractType | 13 | class UserType extends AbstractType |
14 | { | 14 | { |
15 | /** | ||
16 | * @param FormBuilderInterface $builder | ||
17 | * @param array $options | ||
18 | */ | ||
19 | public function buildForm(FormBuilderInterface $builder, array $options) | 15 | public function buildForm(FormBuilderInterface $builder, array $options) |
20 | { | 16 | { |
21 | $builder | 17 | $builder |
@@ -50,9 +46,6 @@ class UserType extends AbstractType | |||
50 | ; | 46 | ; |
51 | } | 47 | } |
52 | 48 | ||
53 | /** | ||
54 | * @param OptionsResolver $resolver | ||
55 | */ | ||
56 | public function configureOptions(OptionsResolver $resolver) | 49 | public function configureOptions(OptionsResolver $resolver) |
57 | { | 50 | { |
58 | $resolver->setDefaults([ | 51 | $resolver->setDefaults([ |
diff --git a/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php b/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php index b25ba685..4eea444f 100644 --- a/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php +++ b/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php | |||
@@ -57,12 +57,10 @@ class AuthCodeMailer implements AuthCodeMailerInterface | |||
57 | /** | 57 | /** |
58 | * Initialize the auth code mailer with the SwiftMailer object. | 58 | * Initialize the auth code mailer with the SwiftMailer object. |
59 | * | 59 | * |
60 | * @param \Swift_Mailer $mailer | 60 | * @param string $senderEmail |
61 | * @param Environment $twig | 61 | * @param string $senderName |
62 | * @param string $senderEmail | 62 | * @param string $supportUrl wallabag support url |
63 | * @param string $senderName | 63 | * @param string $wallabagUrl wallabag instance url |
64 | * @param string $supportUrl wallabag support url | ||
65 | * @param string $wallabagUrl wallabag instance url | ||
66 | */ | 64 | */ |
67 | public function __construct(\Swift_Mailer $mailer, Environment $twig, $senderEmail, $senderName, $supportUrl, $wallabagUrl) | 65 | public function __construct(\Swift_Mailer $mailer, Environment $twig, $senderEmail, $senderName, $supportUrl, $wallabagUrl) |
68 | { | 66 | { |
@@ -76,8 +74,6 @@ class AuthCodeMailer implements AuthCodeMailerInterface | |||
76 | 74 | ||
77 | /** | 75 | /** |
78 | * Send the auth code to the user via email. | 76 | * Send the auth code to the user via email. |
79 | * | ||
80 | * @param TwoFactorInterface $user | ||
81 | */ | 77 | */ |
82 | public function sendAuthCode(TwoFactorInterface $user): void | 78 | public function sendAuthCode(TwoFactorInterface $user): void |
83 | { | 79 | { |
diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php index a8ab53da..3a8f92e7 100644 --- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php +++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | |||
@@ -199,8 +199,8 @@ class EntryControllerTest extends WallabagCoreTestCase | |||
199 | $authors = $content->getPublishedBy(); | 199 | $authors = $content->getPublishedBy(); |
200 | $this->assertSame('2017-04-05 19:26:13', $content->getPublishedAt()->format('Y-m-d H:i:s')); | 200 | $this->assertSame('2017-04-05 19:26:13', $content->getPublishedAt()->format('Y-m-d H:i:s')); |
201 | $this->assertSame('fr', $content->getLanguage()); | 201 | $this->assertSame('fr', $content->getLanguage()); |
202 | $this->assertSame('Raphaël Balenieri, correspondant à Pékin', $authors[0]); | 202 | $this->assertSame('Raphaël Balenieri', $authors[0]); |
203 | $this->assertSame('Frédéric Autran, correspondant à New York', $authors[1]); | 203 | $this->assertSame('Frédéric Autran', $authors[1]); |
204 | } | 204 | } |
205 | 205 | ||
206 | public function testPostNewOkUrlExist() | 206 | public function testPostNewOkUrlExist() |
diff --git a/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php b/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php index 15646d55..90192278 100644 --- a/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php +++ b/tests/Wallabag/ImportBundle/Controller/PinboardControllerTest.php | |||
@@ -121,7 +121,6 @@ class PinboardControllerTest extends WallabagCoreTestCase | |||
121 | $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content); | 121 | $this->assertInstanceOf('Wallabag\CoreBundle\Entity\Entry', $content); |
122 | $this->assertNotEmpty($content->getMimetype(), 'Mimetype for https://ma.ttias.be is ok'); | 122 | $this->assertNotEmpty($content->getMimetype(), 'Mimetype for https://ma.ttias.be is ok'); |
123 | $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for https://ma.ttias.be is ok'); | 123 | $this->assertNotEmpty($content->getPreviewPicture(), 'Preview picture for https://ma.ttias.be is ok'); |
124 | $this->assertNotEmpty($content->getLanguage(), 'Language for https://ma.ttias.be is ok'); | ||
125 | 124 | ||
126 | $tags = $content->getTags(); | 125 | $tags = $content->getTags(); |
127 | $this->assertContains('foot', $tags, 'It includes the "foot" tag'); | 126 | $this->assertContains('foot', $tags, 'It includes the "foot" tag'); |