Dependencies not installable

More information: https://insight.symfony.com/what-we-analyse/composer.dependencies_not_installable

SymfonyInsight was not able to install your Composer dependencies. If you need to customize files or run commands to make it work, you can edit your SymfonyInsight project configuration to override the default "pre_composer_script" and/or "post_composer_script" settings.

Time to fix: about 3 hours
Open Issue Permalink
Collective
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 121 installs, 0 updates, 0 removals
  - Installing composer/installers (v1.7.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download composer/installers from dist: The "https://api.github.com/repos/composer/installers/zipball/141b272484481432cda342727a427dc1e206bfa0" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing composer/installers (v1.7.0): Cloning 141b272484
  - Installing wikimedia/composer-merge-plugin (v1.4.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download wikimedia/composer-merge-plugin from dist: The "https://api.github.com/repos/wikimedia/composer-merge-plugin/zipball/81c6ac72a24a67383419c7eb9aa2b3437f2ab100" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing wikimedia/composer-merge-plugin (v1.4.1): Cloning 81c6ac72a2
  - Installing kriswallsmith/assetic (v1.0.5): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download kriswallsmith/assetic from dist: The "https://api.github.com/repos/kriswallsmith/assetic/zipball/8ab3638325af9cd144242765494a9dc9b53ab430" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing kriswallsmith/assetic (v1.0.5): Cloning 8ab3638325
  - Installing robloach/component-installer (0.2.3): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download robloach/component-installer from dist: The "https://api.github.com/repos/RobLoach/component-installer/zipball/908a859aa7c4949ba9ad67091e67bac10b66d3d7" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing robloach/component-installer (0.2.3): Cloning 908a859aa7
  - Installing symfony/polyfill-mbstring (v1.13.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download symfony/polyfill-mbstring from dist: The "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/7b4aab9743c30be783b73de055d24a39cf4b954f" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing symfony/polyfill-mbstring (v1.13.1): Cloning 7b4aab9743
  - Installing symfony/polyfill-ctype (v1.13.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download symfony/polyfill-ctype from dist: The "https://api.github.com/repos/symfony/polyfill-ctype/zipball/f8f0b461be3385e56d6de3dbb5a0df24c0c275e3" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing symfony/polyfill-ctype (v1.13.1): Cloning f8f0b461be
  - Installing twig/twig (v3.0.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download twig/twig from dist: The "https://api.github.com/repos/twigphp/Twig/zipball/28f856a4c57eeb24485916e8a68403f41a133616" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing twig/twig (v3.0.1): Cloning 28f856a4c5
  - Installing symfony/polyfill-php73 (v1.13.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download symfony/polyfill-php73 from dist: The "https://api.github.com/repos/symfony/polyfill-php73/zipball/4b0e2222c55a25b4541305a053013d5647d3a25f" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing symfony/polyfill-php73 (v1.13.1): Cloning 4b0e2222c5
  - Installing symfony/polyfill-intl-normalizer (v1.13.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download symfony/polyfill-intl-normalizer from dist: The "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/cfe6ad557c15f3797f667e9518ce759aa04ae4f3" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing symfony/polyfill-intl-normalizer (v1.13.1): Cloning cfe6ad557c
  - Installing symfony/polyfill-php72 (v1.13.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download symfony/polyfill-php72 from dist: The "https://api.github.com/repos/symfony/polyfill-php72/zipball/66fea50f6cb37a35eea048d75a7d99a45b586038" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing symfony/polyfill-php72 (v1.13.1): Cloning 66fea50f6c
  - Installing symfony/polyfill-intl-idn (v1.13.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download symfony/polyfill-intl-idn from dist: The "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/6f9c239e61e1b0c9229a28ff89a812dc449c3d46" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing symfony/polyfill-intl-idn (v1.13.1): Cloning 6f9c239e61
  - Installing symfony/symfony (v5.0.2): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download symfony/symfony from dist: The "https://api.github.com/repos/symfony/symfony/zipball/c94e669fb16c280ad7346287d21a36f02481c54f" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing symfony/symfony (v5.0.2): Cloning c94e669fb1
  - Installing symfony/polyfill-intl-icu (v1.13.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download symfony/polyfill-intl-icu from dist: The "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/b3dffd68afa61ca70f2327f2dd9bbeb6aa53d70b" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing symfony/polyfill-intl-icu (v1.13.1): Cloning b3dffd68af
  - Installing symfony/polyfill-intl-grapheme (v1.13.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download symfony/polyfill-intl-grapheme from dist: The "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/45c566a1ca16273f7ea6b930e013462e00e14502" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing symfony/polyfill-intl-grapheme (v1.13.1): Cloning 45c566a1ca
  - Installing psr/event-dispatcher (1.0.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download psr/event-dispatcher from dist: The "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing psr/event-dispatcher (1.0.0): Cloning dbefd12671
  - Installing psr/container (1.0.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download psr/container from dist: The "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing psr/container (1.0.0): Cloning b7ce3b1764
  - Installing psr/cache (1.0.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download psr/cache from dist: The "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing psr/cache (1.0.1): Cloning d11b50ad22
  - Installing symfony/contracts (v2.0.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download symfony/contracts from dist: The "https://api.github.com/repos/symfony/contracts/zipball/b3b9b70bfacfd204d352e7e7350e02c02c0fff78" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing symfony/contracts (v2.0.1): Cloning b3b9b70bfa
  - Installing psr/log (1.1.2): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download psr/log from dist: The "https://api.github.com/repos/php-fig/log/zipball/446d54b4cb6bf489fc9d75f55843658e6f25d801" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing psr/log (1.1.2): Cloning 446d54b4cb
  - Installing psr/link (1.0.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download psr/link from dist: The "https://api.github.com/repos/php-fig/link/zipball/eea8e8662d5cd3ae4517c9b864493f59fca95562" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing psr/link (1.0.0): Cloning eea8e8662d
  - Installing doctrine/lexer (1.2.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download doctrine/lexer from dist: The "https://api.github.com/repos/doctrine/lexer/zipball/5242d66dbeb21a30dd8a3e66bf7a73b66e05e1f6" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing doctrine/lexer (1.2.0): Cloning 5242d66dbe
  - Installing doctrine/annotations (v1.8.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download doctrine/annotations from dist: The "https://api.github.com/repos/doctrine/annotations/zipball/904dca4eb10715b92569fbcd79e201d5c349b6bc" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing doctrine/annotations (v1.8.0): Cloning 904dca4eb1
  - Installing doctrine/reflection (v1.1.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download doctrine/reflection from dist: The "https://api.github.com/repos/doctrine/reflection/zipball/bc420ead87fdfe08c03ecc3549db603a45b06d4c" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing doctrine/reflection (v1.1.0): Cloning bc420ead87
  - Installing doctrine/event-manager (1.1.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download doctrine/event-manager from dist: The "https://api.github.com/repos/doctrine/event-manager/zipball/629572819973f13486371cb611386eb17851e85c" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing doctrine/event-manager (1.1.0): Cloning 6295728199
  - Installing doctrine/collections (1.6.4): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download doctrine/collections from dist: The "https://api.github.com/repos/doctrine/collections/zipball/6b1e4b2b66f6d6e49983cebfe23a21b7ccc5b0d7" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing doctrine/collections (1.6.4): Cloning 6b1e4b2b66
  - Installing doctrine/cache (1.10.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download doctrine/cache from dist: The "https://api.github.com/repos/doctrine/cache/zipball/382e7f4db9a12dc6c19431743a2b096041bcdd62" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing doctrine/cache (1.10.0): Cloning 382e7f4db9
  - Installing doctrine/persistence (1.3.4): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download doctrine/persistence from dist: The "https://api.github.com/repos/doctrine/persistence/zipball/ff7e08b0f814be2cd20c52dc3c8a262579376b94" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing doctrine/persistence (1.3.4): Cloning ff7e08b0f8
  - Installing doctrine/inflector (1.3.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download doctrine/inflector from dist: The "https://api.github.com/repos/doctrine/inflector/zipball/ec3a55242203ffa6a4b27c58176da97ff0a7aec1" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing doctrine/inflector (1.3.1): Cloning ec3a552422
  - Installing doctrine/common (2.12.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download doctrine/common from dist: The "https://api.github.com/repos/doctrine/common/zipball/2053eafdf60c2172ee1373d1b9289ba1db7f1fc6" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing doctrine/common (2.12.0): Cloning 2053eafdf6
  - Installing behat/transliterator (v1.2.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download behat/transliterator from dist: The "https://api.github.com/repos/Behat/Transliterator/zipball/826ce7e9c2a6664c0d1f381cbb38b1fb80a7ee2c" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing behat/transliterator (v1.2.0): Cloning 826ce7e9c2
  - Installing gedmo/doctrine-extensions (v2.4.38): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download gedmo/doctrine-extensions from dist: The "https://api.github.com/repos/Atlantic18/DoctrineExtensions/zipball/81681364331b131518060e4776300a5346df1eb5" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing gedmo/doctrine-extensions (v2.4.38): Cloning 8168136433
  - Installing antishov/doctrine-extensions-bundle (v1.4.2): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download antishov/doctrine-extensions-bundle from dist: The "https://api.github.com/repos/antishov/StofDoctrineExtensionsBundle/zipball/19c8d45e7ceb6477ef490f21ab4279e549c1e828" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing antishov/doctrine-extensions-bundle (v1.4.2): Cloning 19c8d45e7c
  - Installing components/jquery (3.4.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download components/jquery from dist: The "https://api.github.com/repos/components/jquery/zipball/901828b7968b18319e377dc23d466f28426ee083" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing components/jquery (3.4.1): Cloning 901828b796
  - Installing components/bootstrap (4.4.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download components/bootstrap from dist: The "https://api.github.com/repos/components/bootstrap/zipball/983313252725392091d8d2952276cbdcd4060014" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing components/bootstrap (4.4.1): Cloning 9833132527
  - Installing components/font-awesome (5.12.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download components/font-awesome from dist: The "https://api.github.com/repos/components/font-awesome/zipball/d8646ec635a00b06cc219b7dffed3418444975cc" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing components/font-awesome (5.12.0): Cloning d8646ec635
  - Installing components/jqueryui (1.12.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download components/jqueryui from dist: The "https://api.github.com/repos/components/jqueryui/zipball/44ecf3794cc56b65954cc19737234a3119d036cc" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing components/jqueryui (1.12.1): Cloning 44ecf3794c
  - Installing seld/phar-utils (1.0.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download seld/phar-utils from dist: The "https://api.github.com/repos/Seldaek/phar-utils/zipball/7009b5139491975ef6486545a39f3e6dad5ac30a" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing seld/phar-utils (1.0.1): Cloning 7009b51394
  - Installing seld/jsonlint (1.7.2): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download seld/jsonlint from dist: The "https://api.github.com/repos/Seldaek/jsonlint/zipball/e2e5d290e4d2a4f0eb449f510071392e00e10d19" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing seld/jsonlint (1.7.2): Cloning e2e5d290e4
  - Installing justinrainbow/json-schema (5.2.9): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download justinrainbow/json-schema from dist: The "https://api.github.com/repos/justinrainbow/json-schema/zipball/44c6787311242a979fa15c704327c20e7221a0e4" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing justinrainbow/json-schema (5.2.9): Cloning 44c6787311
  - Installing composer/xdebug-handler (1.4.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download composer/xdebug-handler from dist: The "https://api.github.com/repos/composer/xdebug-handler/zipball/cbe23383749496fe0f373345208b79568e4bc248" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing composer/xdebug-handler (1.4.0): Cloning cbe2338374
  - Installing composer/spdx-licenses (1.5.2): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download composer/spdx-licenses from dist: The "https://api.github.com/repos/composer/spdx-licenses/zipball/7ac1e6aec371357df067f8a688c3d6974df68fa5" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing composer/spdx-licenses (1.5.2): Cloning 7ac1e6aec3
  - Installing composer/semver (1.5.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download composer/semver from dist: The "https://api.github.com/repos/composer/semver/zipball/46d9139568ccb8d9e7cdd4539cab7347568a5e2e" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing composer/semver (1.5.0): Cloning 46d9139568
  - Installing composer/ca-bundle (1.2.5): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download composer/ca-bundle from dist: The "https://api.github.com/repos/composer/ca-bundle/zipball/62e8fc2dc550e5d6d8c9360c7721662670f58149" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing composer/ca-bundle (1.2.5): Cloning 62e8fc2dc5
  - Installing composer/composer (dev-master ec32c03): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download composer/composer from dist: The "https://api.github.com/repos/composer/composer/zipball/ec32c03915b95dafe4313d14f981e008b14db6f4" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing composer/composer (dev-master ec32c03): Cloning ec32c03915
  - Installing dimsemenov/magnific-popup (1.1.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download dimsemenov/magnific-popup from dist: The "https://api.github.com/repos/dimsemenov/Magnific-Popup/zipball/6b7a8088783cbce01034414c1fd2d8e1889093ae" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing dimsemenov/magnific-popup (1.1.0): Cloning 6b7a808878
  - Installing jdorn/sql-formatter (v1.2.17): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download jdorn/sql-formatter from dist: The "https://api.github.com/repos/jdorn/sql-formatter/zipball/64990d96e0959dff8e059dfcdc1af130728d92bc" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing jdorn/sql-formatter (v1.2.17): Cloning 64990d96e0
  - Installing doctrine/dbal (v2.10.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download doctrine/dbal from dist: The "https://api.github.com/repos/doctrine/dbal/zipball/c2b8e6e82732a64ecde1cddf9e1e06cb8556e3d8" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing doctrine/dbal (v2.10.1): Cloning c2b8e6e827
  - Installing doctrine/doctrine-bundle (2.0.6): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download doctrine/doctrine-bundle from dist: The "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/0ef972d3b730f975c80db9fffa4b2a0258c91442" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing doctrine/doctrine-bundle (2.0.6): Cloning 0ef972d3b7
  - Installing doctrine/instantiator (1.3.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download doctrine/instantiator from dist: The "https://api.github.com/repos/doctrine/instantiator/zipball/ae466f726242e637cebdd526a7d991b9433bacf1" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing doctrine/instantiator (1.3.0): Cloning ae466f7262
  - Installing doctrine/orm (v2.7.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download doctrine/orm from dist: The "https://api.github.com/repos/doctrine/orm/zipball/4d763ca4c925f647b248b9fa01b5f47aa3685d62" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing doctrine/orm (v2.7.0): Cloning 4d763ca4c9
  - Installing egulias/email-validator (2.1.14): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download egulias/email-validator from dist: The "https://api.github.com/repos/egulias/EmailValidator/zipball/c4b8d12921999d8a561004371701dbc2e05b5ece" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing egulias/email-validator (2.1.14): Cloning c4b8d12921
  - Installing elao/web-profiler-extra-bundle (dev-master 4329dde): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download elao/web-profiler-extra-bundle from dist: The "https://api.github.com/repos/Guite/WebProfilerExtraBundle/zipball/4329dde7befda14417882c21bec6f8c246dc4672" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing elao/web-profiler-extra-bundle (dev-master 4329dde): Cloning 4329dde7be
  - Installing erusev/parsedown (1.7.4): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download erusev/parsedown from dist: The "https://api.github.com/repos/erusev/parsedown/zipball/cb17b6477dfff935958ba01325f2e8a2bfa6dab3" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing erusev/parsedown (1.7.4): Cloning cb17b6477d
  - Installing willdurand/jsonp-callback-validator (v1.1.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download willdurand/jsonp-callback-validator from dist: The "https://api.github.com/repos/willdurand/JsonpCallbackValidator/zipball/1a7d388bb521959e612ef50c5c7b1691b097e909" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing willdurand/jsonp-callback-validator (v1.1.0): Cloning 1a7d388bb5
  - Installing friendsofsymfony/jsrouting-bundle (v2.5.3): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download friendsofsymfony/jsrouting-bundle from dist: The "https://api.github.com/repos/FriendsOfSymfony/FOSJsRoutingBundle/zipball/ce486b619a440d186edf7f303df4822fbee1d1ae" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing friendsofsymfony/jsrouting-bundle (v2.5.3): Cloning ce486b619a
  - Installing guzzlehttp/promises (v1.3.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download guzzlehttp/promises from dist: The "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing guzzlehttp/promises (v1.3.1): Cloning a59da6cf61
  - Installing ralouphie/getallheaders (3.0.3): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download ralouphie/getallheaders from dist: The "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing ralouphie/getallheaders (3.0.3): Cloning 120b605dfe
  - Installing psr/http-message (1.0.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download psr/http-message from dist: The "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing psr/http-message (1.0.1): Cloning f6561bf28d
  - Installing guzzlehttp/psr7 (1.6.1): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download guzzlehttp/psr7 from dist: The "https://api.github.com/repos/guzzle/psr7/zipball/239400de7a173fe9901b9ac7c06497751f00727a" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing guzzlehttp/psr7 (1.6.1): Cloning 239400de7a
  - Installing ircmaxell/security-lib (v1.1.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download ircmaxell/security-lib from dist: The "https://api.github.com/repos/ircmaxell/SecurityLib/zipball/f3db6de12c20c9bcd1aa3db4353a1bbe0e44e1b5" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing ircmaxell/security-lib (v1.1.0): Cloning f3db6de12c
  - Installing ircmaxell/random-lib (v1.2.0): Downloading (failed)
Downloading (failed)
Downloading (failed)    Failed to download ircmaxell/random-lib from dist: The "https://api.github.com/repos/ircmaxell/RandomLib/zipball/e9e0204f40e49fa4419946c677eccd3fa25b8cf4" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
failed to open stream: Cannot connect to HTTPS server through proxy
    Now trying to download from source
  - Installing ircmaxell/random-lib (v1.2.0): Cloning e9e0204f40

                                                                                                                              
  [RuntimeException]                                                                                                          
  Failed to clone https://github.com/ircmaxell/RandomLib.git via https, ssh protocols, aborting.                              
                                                                                                                              
  - https://github.com/ircmaxell/RandomLib.git                                                                                
    Cloning into '/home/foobar/code/src/vendor/ircmaxell/random-lib'...                                                       
    fatal: unable to access 'https://github.com/ircmaxell/RandomLib.git/': Couldn't resolve proxy 'proxy.wax.sensiolabs.com'  
                                                                                                                              
  - git@github.com:ircmaxell/RandomLib.git                                                                                    
    Cloning into '/home/foobar/code/src/vendor/ircmaxell/random-lib'...                                                       
    ssh: Could not resolve hostname github.com: Name or service not known                                                     
    fatal: Could not read from remote repository.                                                                             
                                                                                                                              
    Please make sure you have the correct access rights                                                                       
    and the repository exists.                                                                                                
                                                                                                                              

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...

Your project should use Doctrine migrations

More information: https://insight.symfony.com/what-we-analyse/composer.using_migrations

Use Doctrine Migrations to keep your production database synchronized

Time to fix: about 1 hour
Open Issue Permalink
Collective

Source code should not contain tasks comments 11

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

  1. * For this all registries are checked to see if the given category is contained in the corresponding subtree.
  2. * If yes, the mapping table of the corresponding module is checked to see if it contains the given category.
  3. */
  4. public function mayCategoryBeDeletedOrMoved(CategoryEntity $category): bool
  5. {
  6. // TODO #3920

    Tasks comments are left in the code when a feature (or a bug) isn't completely developed (or fixed). You should complete the implementation and remove the comment.

    Time to fix: about 2 hours
    Open Issue Permalink
    Last edited by Guite
  7. return true;
  8. // collect parents
  9. $isOnTop = false;
  10. $parentIds = [$category->getId()];
  1. use Symfony\Component\HttpFoundation\Request;
  2. use Symfony\Component\HttpFoundation\RequestStack;
  3. use Symfony\Component\HttpFoundation\Response;
  4. use Symfony\Component\Routing\Annotation\Route;
  5. use Zikula\Core\Controller\AbstractController;
  6. use Zikula\Core\LinkContainer\LinkContainerCollector; // @todo remove

    Tasks comments are left in the code when a feature (or a bug) isn't completely developed (or fixed). You should complete the implementation and remove the comment.

    Time to fix: about 2 hours
    Open Issue Permalink
    Last edited by Craig Heydenburg
  7. use Zikula\ExtensionsModule\Entity\RepositoryInterface\ExtensionRepositoryInterface;
  8. use Zikula\MenuModule\ExtensionMenu\ExtensionMenuCollector;
  9. use Zikula\ThemeModule\Engine\Asset;
  10. /**
  1. * Open the admin container
  2. */
  3. public function linksAction(
  4. RequestStack $requestStack,
  5. ExtensionRepositoryInterface $extensionRepository,
  6. LinkContainerCollector $linkCollector, // @todo remove

    Tasks comments are left in the code when a feature (or a bug) isn't completely developed (or fixed). You should complete the implementation and remove the comment.

    Time to fix: about 2 hours
    Open Issue Permalink
    Last edited by Craig Heydenburg
  7. ExtensionMenuCollector $extensionMenuCollector
  8. ): Response {
  9. /** @var Request $masterRequest */
  10. $masterRequest = $requestStack->getMasterRequest();
  11. /** @var Request $currentRequest */
  1. // detect from masterRequest
  2. $links_type = '' !== $masterRequest->attributes->get('type') ? $masterRequest->attributes->get('type') : $links_type;
  3. // passed to currentRequest most important
  4. $links_type = '' !== $currentRequest->attributes->get('type') ? $currentRequest->attributes->get('type') : $links_type;
  5. // get the menu links
  6. $links = $linkCollector->getLinks($modname, $links_type); // @todo remove

    Tasks comments are left in the code when a feature (or a bug) isn't completely developed (or fixed). You should complete the implementation and remove the comment.

    Time to fix: about 2 hours
    Open Issue Permalink
    Last edited by Craig Heydenburg
  7. $extensionMenu = $extensionMenuCollector->get($modname, $links_type);
  8. $extensionMenu->setChildrenAttribute('class', 'nav nav-modulelinks');
  9. }
  10. // menu css
  1. : '@ZikulaExtensionsModule/ExtensionsInterface/links.html.twig';
  2. return $this->render($template, [
  3. 'caller' => $caller,
  4. 'menu_css' => $menu_css,
  5. 'links' => $links, // @todo remove

    Tasks comments are left in the code when a feature (or a bug) isn't completely developed (or fixed). You should complete the implementation and remove the comment.

    Time to fix: about 2 hours
    Open Issue Permalink
    Last edited by Craig Heydenburg
  6. 'extensionMenu' => $extensionMenu,
  7. 'current_path' => $masterRequest->getPathInfo()
  8. ]);
  9. }
  10. }
  1. {% endif %}
  2. {% endfor %}
  3. {% endmacro %}
  4. {% if extensionMenu|default %}
  5. {{ knp_menu_render(extensionMenu, {template: '@ZikulaMenuModule/Override/bootstrap_fontawesome.html.twig'}) }}
  6. {% elseif links|default %}{# @todo remove this and the macro above #}

    Tasks comments are left in the code when a feature (or a bug) isn't completely developed (or fixed). You should complete the implementation and remove the comment.

    Time to fix: about 2 hours
    Open Issue Permalink
    Last edited by Craig Heydenburg
  7. <ul{% if menu_css.menuId is not empty %} id="{{ menu_css.menuId }}"{% endif %} class="nav nav-modulelinks{% if menu_css.menuClass is not empty %} {{ menu_css.menuClass }}{% endif %}">
  8. {{ _self.draw(links, menu_css, current_path, 1) }}
  9. </ul>
  10. {% endif %}
  1. {{ adminHeader() }}{# @todo wrong header! see below #}

    Tasks comments are left in the code when a feature (or a bug) isn't completely developed (or fixed). You should complete the implementation and remove the comment.

    Time to fix: about 2 hours
    Open Issue Permalink
    Last edited by Craig Heydenburg
  2. {#{admincategorymenu}#}
  3. {#<div class="z-admin-content clearfix">#}
  4. {#{modgetinfo modname=$currentmodule info='displayname' assign='displayName'}#}
  5. {#{modgetimage modname=$currentmodule assign='image'}#}
  1. }
  2. if ('Filter' === $namespace) {
  3. if (
  4. // Do not allow Filter.Custom for now. Causing errors.
  5. // TODO research why Filter.Custom is causing exceptions and correct.

    Tasks comments are left in the code when a feature (or a bug) isn't completely developed (or fixed). You should complete the implementation and remove the comment.

    Time to fix: about 2 hours
    Open Issue Permalink
    Last edited by Axel Guckelsberger
  6. ('Custom' === $directive)
  7. // Do not allow Filter.ExtractStyleBlock* for now. Causing errors.
  8. // TODO Filter.ExtractStyleBlock* requires CSSTidy
  9. || (false !== mb_stripos($directive, 'ExtractStyleBlock'))
  10. ) {
  1. if (
  2. // Do not allow Filter.Custom for now. Causing errors.
  3. // TODO research why Filter.Custom is causing exceptions and correct.
  4. ('Custom' === $directive)
  5. // Do not allow Filter.ExtractStyleBlock* for now. Causing errors.
  6. // TODO Filter.ExtractStyleBlock* requires CSSTidy

    Tasks comments are left in the code when a feature (or a bug) isn't completely developed (or fixed). You should complete the implementation and remove the comment.

    Time to fix: about 2 hours
    Open Issue Permalink
    Last edited by Axel Guckelsberger
  7. || (false !== mb_stripos($directive, 'ExtractStyleBlock'))
  8. ) {
  9. continue;
  10. }
  11. }
  1. // PHPIDS should run with PHP 5.1.2 but this is untested - set this value to force compatibilty with minor versions
  2. $config['General']['min_php_version'] = '5.1.6';
  3. // caching settings
  4. // @todo: add UI for those caching settings

    Tasks comments are left in the code when a feature (or a bug) isn't completely developed (or fixed). You should complete the implementation and remove the comment.

    Time to fix: about 2 hours
    Open Issue Permalink
    Last edited by Drak
  5. $config['Caching'] = [];
  6. // caching method (session|file|database|memcached|none), default file
  7. $config['Caching']['caching'] = 'none'; // deactivate caching for now
  8. $config['Caching']['expiration_time'] = 600;
  1. $variableApi->del(VariableApi::CONFIG, 'language');
  2. }
  3. foreach ($data as $name => $value) {
  4. $variableApi->set(VariableApi::CONFIG, $name, $value);
  5. }
  6. $variableApi->set(VariableApi::CONFIG, 'locale', $data['language_i18n']); // @todo which variable are we using?

    Tasks comments are left in the code when a feature (or a bug) isn't completely developed (or fixed). You should complete the implementation and remove the comment.

    Time to fix: about 2 hours
    Open Issue Permalink
    Last edited by Guite
  7. $multilingualRoutingHelper->reloadMultilingualRoutingSettings(); // resets config/dynamic/generated.yml & custom_parameters.yml
  8. if ($request->hasSession() && ($session = $request->getSession())) {
  9. $session->set('_locale', $data['language_i18n']);
  10. }

Code should not be duplicated 10

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

  1. public function setIcon(string $icon): void
  2. {
  3. $this->icon = $icon ?? '';
  4. }
  5. public function getCr_date(): DateTime

    The next 41 lines appear both in src/system/CategoriesModule/Entity/CategoryEntity.php:424 and src/system/CategoriesModule/Entity/CategoryRegistryEntity.php:174.

    Time to fix: about 4 hours
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->cr_date;
  8. }
  9. public function setCr_date(DateTime $cr_date): void
  1. if ($currentStage instanceof WizardCompleteInterface) {
  2. return $currentStage->getResponse($request);
  3. }
  4. $templateParams = $this->controllerHelper->getTemplateGlobals($currentStage);
  5. $templateParams['headertemplate'] = '@ZikulaCoreInstaller/installheader.html.twig';
  6. if ($wizard->isHalted()) {

    The next 16 lines appear both in src/lib/Zikula/Bundle/CoreInstallerBundle/Controller/InstallerController.php:65 and src/lib/Zikula/Bundle/CoreInstallerBundle/Controller/UpgraderController.php:73.

    Time to fix: about 4 hours
    Open Issue Permalink
    Last edited by Craig Heydenburg
  7. if (null !== $session) {
  8. $session->getFlashBag()->add('danger', $wizard->getWarning());
  9. }
  10. return $this->renderResponse('@ZikulaCoreInstaller/error.html.twig', $templateParams);
  1. * @ORM\Column(name="sortorder", type="smallint", nullable=false)
  2. * @var int
  3. */
  4. private $sortorder;
  5. public function getId(): int

    The next 54 lines appear both in src/lib/Zikula/Bundle/HookBundle/Dispatcher/Storage/Doctrine/Entity/HookBindingEntity.php:77 and src/lib/Zikula/Bundle/HookBundle/Dispatcher/Storage/Doctrine/Entity/HookRuntimeEntity.php:91.

    Time to fix: about 4 hours
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->id;
  8. }
  9. public function setSowner(string $sowner): self
  1. *
  2. * For the full copyright and license information, please view the LICENSE
  3. * file that was distributed with this source code.
  4. */
  5. namespace Zikula\BlocksModule\Container;

    The next 50 lines appear both in src/system/BlocksModule/Container/LinkContainer.php:14 and src/system/MenuModule/Container/LinkContainer.php:14.

    Time to fix: about 4 hours
    Open Issue Permalink
    Last edited by Craig Heydenburg
  6. use Symfony\Component\Routing\RouterInterface;
  7. use Symfony\Contracts\Translation\TranslatorInterface;
  8. use Zikula\Core\LinkContainer\LinkContainerInterface;
  9. use Zikula\PermissionsModule\Api\ApiInterface\PermissionApiInterface;
  1. *
  2. * For the full copyright and license information, please view the LICENSE
  3. * file that was distributed with this source code.
  4. */
  5. namespace Zikula\BlocksModule\Container;

    The next 56 lines appear in src/system/BlocksModule/Container/LinkContainer.php:14, src/system/SettingsModule/Container/LinkContainer.php:14 and src/system/ThemeModule/Container/LinkContainer.php:14.

    Time to fix: about 4 hours
    Open Issue Permalink
    Last edited by Craig Heydenburg
  6. use Symfony\Component\Routing\RouterInterface;
  7. use Symfony\Contracts\Translation\TranslatorInterface;
  8. use Zikula\Core\LinkContainer\LinkContainerInterface;
  9. use Zikula\PermissionsModule\Api\ApiInterface\PermissionApiInterface;
  1. *
  2. * For the full copyright and license information, please view the LICENSE
  3. * file that was distributed with this source code.
  4. */
  5. namespace Zikula\BlocksModule\Container;

    The next 51 lines appear in src/system/BlocksModule/Container/LinkContainer.php:14, src/system/MailerModule/Container/LinkContainer.php:14 and src/system/PermissionsModule/Container/LinkContainer.php:14.

    Time to fix: about 4 hours
    Open Issue Permalink
    Last edited by Craig Heydenburg
  6. use Symfony\Component\Routing\RouterInterface;
  7. use Symfony\Contracts\Translation\TranslatorInterface;
  8. use Zikula\Core\LinkContainer\LinkContainerInterface;
  9. use Zikula\PermissionsModule\Api\ApiInterface\PermissionApiInterface;
  1. * @Assert\Length(min="0", max="64", allowEmptyString="false")
  2. * @var string
  3. */
  4. private $coreCompatibility;
  5. public function getId(): ?int

    The next 41 lines appear both in src/system/ExtensionsModule/Entity/ExtensionEntity.php:102 and src/system/ThemeModule/Entity/ThemeEntity.php:141.

    Time to fix: about 4 hours
    Open Issue Permalink
    Last edited by craigh
  6. {
  7. return $this->id;
  8. }
  9. public function setId(int $id): void
  1. *
  2. * For the full copyright and license information, please view the LICENSE
  3. * file that was distributed with this source code.
  4. */
  5. namespace Zikula\GroupsModule\Form\Type;

    The next 26 lines appear both in src/system/GroupsModule/Form/Type/ConfigType.php:14 and src/system/SearchModule/Form/Type/ConfigType.php:14.

    Time to fix: about 4 hours
    Open Issue Permalink
    Last edited by Axel Guckelsberger
  6. use Symfony\Component\Form\AbstractType;
  7. use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
  8. use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
  9. use Symfony\Component\Form\Extension\Core\Type\IntegerType;
  1. $query = $qb->getQuery();
  2. return (int)$query->getSingleScalarResult();
  3. }
  4. public function getResults(array $filters = [], array $sorting = [], int $limit = 0, int $offset = 0): array

    The next 33 lines appear both in src/system/SearchModule/Entity/Repository/SearchResultRepository.php:48 and src/system/SearchModule/Entity/Repository/SearchStatRepository.php:43.

    Time to fix: about 4 hours
    Open Issue Permalink
    Last edited by Guite
  5. {
  6. $qb = $this->createQueryBuilder('tbl')
  7. ->select('tbl');
  8. // add clauses for where
  1. *
  2. * For the full copyright and license information, please view the LICENSE
  3. * file that was distributed with this source code.
  4. */
  5. namespace Zikula\UsersModule\Validator\Constraints;

    The next 64 lines appear both in src/system/UsersModule/Validator/Constraints/ValidEmailValidator.php:14 and src/system/ZAuthModule/Validator/Constraints/ValidEmailValidator.php:14.

    Time to fix: about 4 hours
    Open Issue Permalink
    Last edited by Craig Heydenburg
  6. use Symfony\Component\Validator\Constraint;
  7. use Symfony\Component\Validator\Constraints\Email;
  8. use Symfony\Component\Validator\ConstraintValidator;
  9. use Symfony\Component\Validator\ConstraintViolationListInterface;

The Doctrine Entity Manager should not be passed as an argument

More information: https://insight.symfony.com/what-we-analyse/symfony.dependency_injection.no_entity_manager_as_parameter

  1. public function getEntityManager(): ?EntityManagerInterface
  2. {
  3. return $this->entityManager;
  4. }
  5. public function setEntityManager(EntityManagerInterface $entityManager = null): void

    A Doctrine entity manager has been found as an argument.

    Time to fix: about 4 hours
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. if ($this->entityManager !== $entityManager) {
  8. $this->entityManager = $entityManager;
  9. }
  10. }

Object parameters should be type hinted

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

  1. }
  2. $requiredDependents = $this->dependencyHelper->getDependentExtensions($extension);
  3. if (!empty($requiredDependents)) {
  4. if ($input->isInteractive()) {
  5. $names = implode(', ', array_map(function ($dependent) {

    The parameter dependent, which is an object, should be typehinted.

    Time to fix: about 1 hour
    Open Issue Permalink
    Last edited by Craig Heydenburg
  6. return $dependent->getModname();
  7. }, $requiredDependents));
  8. $io->error(sprintf('The extension is a required dependency of [%s]. Please uninstall these extensions first.', $names));
  9. }

Error silenced by the at sign (@) 2

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

  1. }
  2. public function createInstanceFromBKey(string $bKey): BlockHandlerInterface
  3. {
  4. if (false !== mb_strpos($bKey, ':')) {
  5. @trigger_error('The BKey should not contain the module name with a colon as of Core-3.0.0');

    Adding "@" before trigger_error('The BKey should not contain the module name with a colon as of Core-3.0.0') prevents warning and errors during this function execution from being displayed.
    If you need to do that, you should probably implement a better way to qualify and recover from errors, using Exceptions.

    Time to fix: about 4 hours
    Open Issue Permalink
    Last edited by Craig Heydenburg
  6. }
  7. return $this->blockFactory->getInstance($bKey);
  8. }
  1. $this->entityManager->flush();
  2. }
  3. private function isSerialized($string): bool
  4. {
  5. return 'b:0;' === $string || false !== @unserialize($string);

    Adding "@" before unserialize($string) prevents warning and errors during this function execution from being displayed.
    If you need to do that, you should probably implement a better way to qualify and recover from errors, using Exceptions.

    Time to fix: about 4 hours
    Open Issue Permalink
    Last edited by Axel Guckelsberger
  6. }
  7. }

Boolean property should not be prefixed by "is" 4

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

  1. }
  2. /**
  3. * Alias for Symfony Forms.
  4. */
  5. public function getIsLocked(): bool

    Boolean property accessor should not be setIsXXX nor getIsXXX but setXXX and isXXX.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->getIs_locked();
  8. }
  9. public function setIs_locked(bool $is_locked): void
  1. }
  2. /**
  3. * Alias for Symfony Forms
  4. */
  5. public function setIsLocked(bool $isLocked): void

    Boolean property accessor should not be setIsXXX nor getIsXXX but setXXX and isXXX.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $this->setIs_locked($isLocked);
  8. }
  9. public function getIs_leaf(): bool
  1. }
  2. /**
  3. * Alias for Symfony Forms
  4. */
  5. public function getIsLeaf(): bool

    Boolean property accessor should not be setIsXXX nor getIsXXX but setXXX and isXXX.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->getIs_leaf();
  8. }
  9. public function setIs_leaf(bool $is_leaf): void
  1. }
  2. /**
  3. * Alias for Symfony Forms
  4. */
  5. public function setIsLeaf(bool $isLeaf): void

    Boolean property accessor should not be setIsXXX nor getIsXXX but setXXX and isXXX.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $this->setIs_leaf($isLeaf);
  8. }
  9. public function getName(): string

Form types should be in Form folders

More information: https://insight.symfony.com/what-we-analyse/symfony.form.form_type_not_in_type_form_folder

A form type has been found outside Form folder

Time to fix: about 2 hours
Open Issue Permalink
Collective
  • src/lib/Zikula/Common/Content
    • AbstractContentFormType.php

      A form type has been found outside Form folder

    • AbstractContentType.php
    • ContentTypeInterface.php

PHP code should not contain unreachable code

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

  1. {
  2. // TODO #3920
  3. return true;
  4. // collect parents
  5. $isOnTop = false;
  6. $parentIds = [$category->getId()];
  7. $directParent = $category;
  8. while (false === $isOnTop) {
  9. $directParent = $category->getParent();
  10. if (null === $directParent) {
  11. $isOnTop = true;
  12. } else {
  13. $parentIds[] = $directParent->getId();
  14. }
  15. }
  16. // fetch registries
  17. $registries = $this->categoryRegistryRepository->findAll();
  18. // iterate over all registries
  19. foreach ($registries as $registry) {
  20. // check if the registry subtree contains our category
  21. if (!in_array($registry->getCategory()->getId(), $parentIds, true)) {
  22. continue;
  23. }
  24. // get information about responsible module
  25. if (!$this->kernel->isBundle($registry->getModname())) {
  26. continue;
  27. }
  28. $capabilities = $this->capabilityApi->getCapabilitiesOf($registry->getModname());
  29. foreach ($capabilities[CapabilityApi::CATEGORIZABLE] as $entityClass) {
  30. if (!is_subclass_of($entityClass, AbstractCategoryAssignment::class)) {
  31. continue;
  32. }
  33. // check if this mapping table contains a reference to the given category
  34. $mappings = $this->entityManager->getRepository($entityClass)
  35. ->findBy(['category' => $category]);
  36. if (count($mappings) > 0) {
  37. // existing reference found
  38. return false;
  39. }
  40. }
  41. }
  42. return true;

    This code is unreachable.

    Time to fix: about 1 hour
    Open Issue Permalink
    Last edited by Guite
  43. }
  44. }

Commented code should not be committed 14

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

  1. if ($request->server->has('USER_AGENT')) {
  2. $requestArgs['USER_AGENT'] = $request->server->get('USER_AGENT');
  3. }
  4. // while i think that REQUEST_URI is unnecessary,
  5. // the REFERER would be important, but results in way too many false positives
  6. /*

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

    Time to fix: about 30 minutes
    Open Issue Permalink
    Last edited by Axel Guckelsberger
  7. if ($request->server->has('REQUEST_URI')) {
  8. $requestArgs['REQUEST_URI'] = $request->server->get('REQUEST_URI');
  9. }
  10. if ($request->server->has('HTTP_REFERER')) {
  11. $requestArgs['REFERER'] = $request->server->get('HTTP_REFERER');
  1. $config['General']['filter_type'] = $this->getSystemVar('idsfilter', 'xml');
  2. if (empty($config['General']['filter_type'])) {
  3. $config['General']['filter_type'] = 'xml';
  4. }
  5. $config['General']['base_path'] = ''; //PHPIDS_PATH_PREFIX;

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

    Time to fix: about 30 minutes
    Open Issue Permalink
    Last edited by Craig Heydenburg
  6. // we don't use the base path because the tmp directory is in zkTemp (see below)
  7. $config['General']['use_base_path'] = false;
  8. // path to the filters used
  9. $config['General']['filter_path'] = $this->getSystemVar('idsrulepath', 'system/SecurityCenterModule/Resources/config/phpids_zikula_default.xml');
  1. * @var ZikulaHttpKernelInterface
  2. * /
  3. private $kernel;*/
  4. public function __construct(ZikulaHttpKernelInterface $kernel)
  5. {
  6. //$this->kernel = $kernel;

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

    Time to fix: about 30 minutes
    Open Issue Permalink
    Last edited by Guite
  7. parent::__construct($kernel);
  8. $this->setName('Zikula');
  9. $this->setVersion(ZikulaKernel::VERSION . /*' - ' . $kernel->getName() . */'/' . $kernel->getEnvironment() . ($kernel->isDebug() ? '/debug' : ''));
  1. }
  2. $response = $event->getResponse();
  3. $response->headers->set('X-Frame-Options', $this->xFrameOptions);
  4. //$response->headers->set('X-Content-Security-Policy', "frame-ancestors 'self'");

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

    Time to fix: about 30 minutes
    Open Issue Permalink
    Last edited by Guite
  5. $response->headers->set('X-XSS-Protection', '1');
  6. }
  7. }
  1. }
  2. try {
  3. $blockInstance = $this->blockApi->createInstanceFromBKey($block->getBkey());
  4. } catch (RuntimeException $exception) {
  5. //return 'Error during block creation: ' . $exception->getMessage();

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

    Time to fix: about 30 minutes
    Open Issue Permalink
    Last edited by Guite
  6. return '';
  7. }
  8. $blockProperties = $block->getProperties();
  9. $blockProperties['bid'] = $block->getBid();
  10. $blockProperties['title'] = $block->getTitle();
  1. /** @var AbstractCategoryAssignment $categoryAssignmentEntity */
  2. foreach ($value as $categoryAssignmentEntity) {
  3. $registryKey = 'registry_' . $categoryAssignmentEntity->getCategoryRegistryId();
  4. $category = $categoryAssignmentEntity->getCategory();
  5. if (false !== mb_strpos(get_class($category), 'DoctrineProxy')) {
  6. //$this->entityManager->detach($category);

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

    Time to fix: about 30 minutes
    Open Issue Permalink
    Last edited by Guite
  7. $category = $this->entityManager->find(CategoryEntity::class, $category->getId());
  8. //$this->entityManager->persist($category);
  9. }
  10. if ($this->multiple) {
  1. $registryKey = 'registry_' . $categoryAssignmentEntity->getCategoryRegistryId();
  2. $category = $categoryAssignmentEntity->getCategory();
  3. if (false !== mb_strpos(get_class($category), 'DoctrineProxy')) {
  4. //$this->entityManager->detach($category);
  5. $category = $this->entityManager->find(CategoryEntity::class, $category->getId());
  6. //$this->entityManager->persist($category);

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

    Time to fix: about 30 minutes
    Open Issue Permalink
    Last edited by Guite
  7. }
  8. if ($this->multiple) {
  9. $data[$registryKey][] = $category;
  10. } else {
  1. }
  2. $event = new ModuleStateEvent($bundle, $extensionEntity->toArray());
  3. $eventDispatcher->dispatch($event, CoreEvents::MODULE_POSTINSTALL);
  4. }
  5. // currently commented out because it takes a long time.
  6. //$extensionHelper->installAssets();

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

    Time to fix: about 30 minutes
    Open Issue Permalink
    Last edited by Guite
  7. }
  8. return $this->redirectToRoute('zikulaextensionsmodule_module_viewmodulelist', ['justinstalled' => json_encode($extensions)]);
  9. }
  1. }
  2. }
  3. public function isValid(): bool
  4. {
  5. //return 1 < count($this->getErrors());

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

    Time to fix: about 30 minutes
    Open Issue Permalink
    Last edited by Guite
  6. return empty($this->getErrors());
  7. }
  8. public function getErrors(): array
  9. {
  1. $logger->addError("Could not send message to: ${emailList} :: " . $this->message->toString());
  2. }
  3. $this->eventDispatcher->dispatch($event, MailerEvents::SEND_MESSAGE_FAILURE);
  4. //throw new RuntimeException($this->trans('Error! A problem occurred while sending the e-mail message.'));

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

    Time to fix: about 30 minutes
    Open Issue Permalink
    Last edited by Craig Heydenburg
  5. return false;
  6. }
  7. if ($this->dataValues['enableLogging']) {
  1. * MenuItemEntity constructor.
  2. */
  3. public function __construct()
  4. {
  5. $this->title = '';
  6. $this->options = []; /*new ArrayCollection();

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

    Time to fix: about 30 minutes
    Open Issue Permalink
    Last edited by Guite
  7. $this->options = [
  8. 'routeParameters' => [],
  9. 'attributes' => [],
  10. 'linkAttributes' => [],
  11. 'childrenAttributes' => [],
  1. $record['instance'] = ':(ZikulaRssTheme|ZikulaPrinterTheme|ZikulaAtomTheme):';
  2. $record['level'] = ACCESS_COMMENT; // 300
  3. $this->entityManager->persist($record);
  4. $lastPerm->setSequence($record->getSequence() + 1);
  5. $this->entityManager->flush();
  6. //$this->addFlash('success', $this->trans('A permission rule was added to allow users access to "utility" themes. Please check the sequence.'));

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

    Time to fix: about 30 minutes
    Open Issue Permalink
    Last edited by Craig Heydenburg
  7. case '1.1.2':
  8. // future upgrade routines
  9. }
  1. if ($multilingual) {
  2. // get all available locales
  3. $langs = $installedLanguages;
  4. } else {
  5. // get only the default locale
  6. $langs = [$this->variableApi->getSystemVar('language_i18n', 'en')]; //$this->container->getParameter('locale');

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

    Time to fix: about 30 minutes
    Open Issue Permalink
    Last edited by Guite
  7. }
  8. }
  9. $errors = '';
  1. $themeVarsPath = $this->getConfigPath() . '/variables.yml';
  2. if (!file_exists($themeVarsPath)) {
  3. return $defaultVars;
  4. }
  5. /*if (!$this->getContainer()) {

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

    Time to fix: about 30 minutes
    Open Issue Permalink
    Last edited by Guite
  6. return $defaultVars;
  7. }*/
  8. $yamlVars = Yaml::parse(file_get_contents($themeVarsPath));
  9. if (!is_array($yamlVars)) {

Unused method, property, variable or parameter 11

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

  1. $this->setTranslator($translator);
  2. $this->factory = $factory;
  3. $this->capabilityApi = $capabilityApi;
  4. }
  5. public function createAdminMenu(array $options): ItemInterface

    This options argument is declared but never used. You should remove it.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. // @see https://gist.github.com/nateevans/9958390
  8. $menu = $this->factory->createItem('menuModuleAdminMenu');
  9. $menu->setChildrenAttribute('class', 'nav navbar-nav');
  1. $args['commandName'] = 'submit';
  2. $this->repeatCreateAction = true;
  3. }
  4. $action = $args['commandName'];
  5. $isRegularAction = 'delete' !== $action;

    This isRegularAction local variable is declared but never used. You should remove it.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. $this->fetchInputData();
  7. $success = $this->applyAction($args);
  8. if (!$success) {
  1. }
  2. /**
  3. * Returns an array of additional template variables for view quick navigation forms.
  4. */
  5. protected function getViewQuickNavParametersForRoute(string $context = '', array $args = []): array

    This context argument is declared but never used. You should remove it.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $parameters = [];
  8. $request = $this->requestStack->getCurrentRequest();
  9. if (null === $request) {
  10. return $parameters;
  1. }
  2. /**
  3. * Returns an array of additional template variables for view quick navigation forms.
  4. */
  5. protected function getViewQuickNavParametersForRoute(string $context = '', array $args = []): array

    This args argument is declared but never used. You should remove it.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $parameters = [];
  8. $request = $this->requestStack->getCurrentRequest();
  9. if (null === $request) {
  10. return $parameters;
  1. /**
  2. * Returns an array of all allowed object types in ZikulaRoutesModule.
  3. *
  4. * @return string[] List of allowed object types
  5. */
  6. public function getObjectTypes(string $context = '', array $args = []): array

    This args argument is declared but never used. You should remove it.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  7. {
  8. $allowedContexts = ['controllerAction', 'api', 'helper', 'actionHandler', 'block', 'contentType', 'mailz'];
  9. if (!in_array($context, $allowedContexts, true)) {
  10. $context = 'controllerAction';
  11. }
  1. }
  2. /**
  3. * Returns the default object type in ZikulaRoutesModule.
  4. */
  5. public function getDefaultObjectType(string $context = '', array $args = []): string

    This args argument is declared but never used. You should remove it.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $allowedContexts = ['controllerAction', 'api', 'helper', 'actionHandler', 'block', 'contentType', 'mailz'];
  8. if (!in_array($context, $allowedContexts, true)) {
  9. $context = 'controllerAction';
  10. }
  1. /**
  2. * Filters a given collection of entities based on different permission checks.
  3. *
  4. * @param array|ArrayCollection $entities The given list of entities
  5. */
  6. public function filterCollection($objectType, $entities, int $permissionLevel, int $userId = null): array

    This objectType argument is declared but never used. You should remove it.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  7. {
  8. $filteredEntities = [];
  9. foreach ($entities as $routes) {
  10. if (!$this->hasEntityPermission($routes, $permissionLevel, $userId)) {
  11. continue;
  1. }
  2. /**
  3. * Returns a translatable title for a certain action.
  4. */
  5. protected function getTitleForAction(string $currentState, string $actionId): string

    This currentState argument is declared but never used. You should remove it.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $title = '';
  8. switch ($actionId) {
  9. case 'submit':
  10. $title = $this->translator->trans('Submit');
  1. $entity = $event->getSubject();
  2. if (!$this->isEntityManagedByThisBundle($entity) || !method_exists($entity, 'get_objectType')) {
  3. return;
  4. }
  5. $objectType = $entity->get_objectType();

    This objectType local variable is declared but never used. You should remove it.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Axel Guckelsberger
  6. $permissionLevel = ACCESS_READ;
  7. $transitionName = $event->getTransition()->getName();
  8. $hasApproval = false;
  1. 'combined_assets',
  2. $this->lifetime,
  3. $this->kernel->getCacheDir() . '/assets/' . $type
  4. );
  5. $key = md5(serialize($assets)) . (int)$this->minify . (int)$this->compress . $this->lifetime . '.combined.' . $type;
  6. $data = $cacheService->get($key, function() use ($cachedFiles, $type) {

    This data local variable is declared but never used. You should remove it.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  7. $data = [];
  8. foreach ($cachedFiles as $k => $file) {
  9. $this->readFile($data, $file, $type);
  10. // avoid exposure of absolute server path
  11. $pathParts = explode($this->rootDir, $file);
  1. $this->setTranslator($translator);
  2. $this->factory = $factory;
  3. $this->permissionApi = $permissionApi;
  4. }
  5. public function createAdminMenu(array $options = []): ItemInterface

    This options argument is declared but never used. You should remove it.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $menu = $this->factory->createItem('bootstrapThemeAdminMenu');
  8. $menu->setChildrenAttribute('class', 'navbar-nav');
  9. $menu->addChild($this->trans('Home'), ['route' => 'home']);
  10. if ($this->permissionApi->hasPermission('ZikulaSettingsModule::', '::', ACCESS_ADMIN)) {

PHP code should follow PSR-1 basic coding standard 38

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

  1. public function setChildren(Collection $children): void
  2. {
  3. $this->children = $children;
  4. }
  5. public function getIs_locked(): bool

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->is_locked;
  8. }
  9. /**
  1. public function getIsLocked(): bool
  2. {
  3. return $this->getIs_locked();
  4. }
  5. public function setIs_locked(bool $is_locked): void

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $this->is_locked = $is_locked;
  8. }
  9. /**
  1. public function setIsLocked(bool $isLocked): void
  2. {
  3. $this->setIs_locked($isLocked);
  4. }
  5. public function getIs_leaf(): bool

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->is_leaf;
  8. }
  9. /**
  1. public function getIsLeaf(): bool
  2. {
  3. return $this->getIs_leaf();
  4. }
  5. public function setIs_leaf(bool $is_leaf): void

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $this->is_leaf = $is_leaf;
  8. }
  9. /**
  1. }
  2. /**
  3. * @return array|string the category display name(s)
  4. */
  5. public function getDisplay_name(string $lang = null)

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. if (!empty($lang)) {
  8. return $this->display_name[$lang] ?? $this->display_name['en'] ?? $this->name;
  9. }
  1. public function getDisplayName()
  2. {
  3. return $this->getDisplay_name();
  4. }
  5. public function setDisplay_name(array $display_name): void

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $this->display_name = $display_name;
  8. }
  9. /**
  1. }
  2. /**
  3. * @return array|string the category display description
  4. */
  5. public function getDisplay_desc(string $lang = null)

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. if (!empty($lang)) {
  8. return $this->display_desc[$lang] ?? $this->display_desc['en'] ?? '';
  9. }
  1. public function getDisplayDesc(string $lang = null)
  2. {
  3. return $this->getDisplay_desc($lang);
  4. }
  5. public function setDisplay_desc(array $display_desc): void

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $this->display_desc = $display_desc;
  8. }
  9. /**
  1. public function setIcon(string $icon): void
  2. {
  3. $this->icon = $icon ?? '';
  4. }
  5. public function getCr_date(): DateTime

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->cr_date;
  8. }
  9. public function setCr_date(DateTime $cr_date): void
  1. public function getCr_date(): DateTime
  2. {
  3. return $this->cr_date;
  4. }
  5. public function setCr_date(DateTime $cr_date): void

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $this->cr_date = $cr_date;
  8. }
  9. public function getCr_uid(): UserEntity
  1. public function setCr_date(DateTime $cr_date): void
  2. {
  3. $this->cr_date = $cr_date;
  4. }
  5. public function getCr_uid(): UserEntity

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->cr_uid;
  8. }
  9. public function setCr_uid(UserEntity $cr_uid): void
  1. public function getCr_uid(): UserEntity
  2. {
  3. return $this->cr_uid;
  4. }
  5. public function setCr_uid(UserEntity $cr_uid): void

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $this->cr_uid = $cr_uid;
  8. }
  9. public function getLu_date(): DateTime
  1. public function setCr_uid(UserEntity $cr_uid): void
  2. {
  3. $this->cr_uid = $cr_uid;
  4. }
  5. public function getLu_date(): DateTime

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->lu_date;
  8. }
  9. public function setLu_date(DateTime $lu_date): void
  1. public function getLu_date(): DateTime
  2. {
  3. return $this->lu_date;
  4. }
  5. public function setLu_date(DateTime $lu_date): void

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $this->lu_date = $lu_date;
  8. }
  9. public function getLu_uid(): UserEntity
  1. public function setLu_date(DateTime $lu_date): void
  2. {
  3. $this->lu_date = $lu_date;
  4. }
  5. public function getLu_uid(): UserEntity

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->lu_uid;
  8. }
  9. public function setLu_uid(UserEntity $lu_uid): void
  1. public function getLu_uid(): UserEntity
  2. {
  3. return $this->lu_uid;
  4. }
  5. public function setLu_uid(UserEntity $lu_uid): void

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $this->lu_uid = $lu_uid;
  8. }
  9. public function getAttributes(): Collection
  1. public function setActive(int $active): void
  2. {
  3. $this->active = $active;
  4. }
  5. public function getLast_Update(): DateTime

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->last_update;
  8. }
  9. public function setLast_Update(): void
  1. public function getLast_Update(): DateTime
  2. {
  3. return $this->last_update;
  4. }
  5. public function setLast_Update(): void

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $this->last_update = new DateTime('now');
  8. }
  9. public function getLanguage(): string
  1. public function setCategory(CategoryEntity $category): void
  2. {
  3. $this->category = $category;
  4. }
  5. public function getCr_date(): DateTime

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->cr_date;
  8. }
  9. public function setCr_date(DateTime $cr_date): void
  1. public function getCr_date(): DateTime
  2. {
  3. return $this->cr_date;
  4. }
  5. public function setCr_date(DateTime $cr_date): void

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $this->cr_date = $cr_date;
  8. }
  9. public function getCr_uid(): UserEntity
  1. public function setCr_date(DateTime $cr_date): void
  2. {
  3. $this->cr_date = $cr_date;
  4. }
  5. public function getCr_uid(): UserEntity

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->cr_uid;
  8. }
  9. public function setCr_uid(UserEntity $cr_uid): void
  1. public function getCr_uid(): UserEntity
  2. {
  3. return $this->cr_uid;
  4. }
  5. public function setCr_uid(UserEntity $cr_uid): void

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $this->cr_uid = $cr_uid;
  8. }
  9. public function getLu_date(): DateTime
  1. public function setCr_uid(UserEntity $cr_uid): void
  2. {
  3. $this->cr_uid = $cr_uid;
  4. }
  5. public function getLu_date(): DateTime

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->lu_date;
  8. }
  9. public function setLu_date(DateTime $lu_date): void
  1. public function getLu_date(): DateTime
  2. {
  3. return $this->lu_date;
  4. }
  5. public function setLu_date(DateTime $lu_date): void

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $this->lu_date = $lu_date;
  8. }
  9. public function getLu_uid(): UserEntity
  1. public function setLu_date(DateTime $lu_date): void
  2. {
  3. $this->lu_date = $lu_date;
  4. }
  5. public function getLu_uid(): UserEntity

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->lu_uid;
  8. }
  9. public function setLu_uid(UserEntity $lu_uid): void
  1. public function getLu_uid(): UserEntity
  2. {
  3. return $this->lu_uid;
  4. }
  5. public function setLu_uid(UserEntity $lu_uid): void

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $this->lu_uid = $lu_uid;
  8. }
  9. public function getObj_status(): string
  1. public function setLu_uid(UserEntity $lu_uid): void
  2. {
  3. $this->lu_uid = $lu_uid;
  4. }
  5. public function getObj_status(): string

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->obj_status;
  8. }
  9. public function setObj_status(string $obj_status): void
  1. public function getObj_status(): string
  2. {
  3. return $this->obj_status;
  4. }
  5. public function setObj_status(string $obj_status): void

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $this->obj_status = $obj_status;
  8. }
  9. }
  1. */
  2. public function __construct()
  3. {
  4. }
  5. public function get_objectType(): string

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->_objectType;
  8. }
  9. public function set_objectType(string $_objectType): void
  1. public function get_objectType(): string
  2. {
  3. return $this->_objectType;
  4. }
  5. public function set_objectType(string $_objectType): void

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. if ($this->_objectType !== $_objectType) {
  8. $this->_objectType = $_objectType ?? '';
  9. }
  10. }
  1. public function setActivated(int $activated): void
  2. {
  3. $this->activated = $activated;
  4. }
  5. public function getApproved_Date(): DateTime

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->approved_date;
  8. }
  9. /**
  1. }
  2. /**
  3. * @param string|DateTime $approved_date the user's approved date
  4. */
  5. public function setApproved_Date($approved_date): void

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. if ($approved_date instanceof DateTime) {
  8. $this->approved_date = $approved_date;
  9. } else {
  10. $this->approved_date = new DateTime($approved_date);
  1. } else {
  2. $this->approved_date = new DateTime($approved_date);
  3. }
  4. }
  5. public function getApproved_By(): int

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->approved_by;
  8. }
  9. public function setApproved_By(int $approved_by): void
  1. public function getApproved_By(): int
  2. {
  3. return $this->approved_by;
  4. }
  5. public function setApproved_By(int $approved_by): void

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. $this->approved_by = $approved_by;
  8. }
  9. public function isApproved(): bool
  1. public function isApproved(): bool
  2. {
  3. return 0 !== $this->approved_by;
  4. }
  5. public function getUser_Regdate(): DateTime

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->user_regdate;
  8. }
  9. /**
  1. }
  2. /**
  3. * @param string|DateTime $user_regdate the user's regdate
  4. */
  5. public function setUser_Regdate($user_regdate): void

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. if ($user_regdate instanceof DateTime) {
  8. $this->user_regdate = $user_regdate;
  9. } else {
  10. $this->user_regdate = new DateTime($user_regdate);
  1. public function setVerifycode(string $verifycode): void
  2. {
  3. $this->verifycode = $verifycode;
  4. }
  5. public function getCreated_Dt(): DateTime

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. return $this->created_dt;
  8. }
  9. /**
  1. }
  2. /**
  3. * @param string|DateTime $created_dt the user verification's created date
  4. */
  5. public function setCreated_Dt($created_dt): void

    Method names should be declared in camelCase.
    You should rename this method to comply with PSR-1.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Guite
  6. {
  7. if ($created_dt instanceof DateTime) {
  8. $this->created_dt = $created_dt;
  9. } else {
  10. $this->created_dt = new DateTime($created_dt);