This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SetEnv APPLICATION_ENV tnussbaum | |
| php_admin_value max_execution_time 240 | |
| php_admin_value post_max_size 12M | |
| php_admin_value upload_max_filesize 12M | |
| php_admin_value display_errors 1 | |
| SetEnv TYPO3_CONTEXT Development |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Mess Detector herunterladen | |
| $ cd ~/bin | |
| $ git clone git://github.com/phpmd/phpmd.git | |
| $ cd pmpmd | |
| $ git submodule update --init | |
| $ composer install | |
| Pfad zur Bibliothek angeben: | |
| PHPStorm > Settings > Languages & Frameworks > PHP > Mess Detector |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar | |
| $ php phpcs.phar -h | |
| Pfad zur Bibliothek angeben: | |
| PHPStorm > Settings > Languages & Frameworks > PHP > Code Sniffer | |
| Development environment: Local [...] bearbeiten | |
| PHP Code Sniffer (phpcs) path: /Users/tnussbaum/bin/phpcs/vendor/bin/phpcs | |
| PHP Code Sniffer aktivieren: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {page.{lang.uid}.available} | |
| ===> ArrayKeyViewHelper | |
| {tui:arrayKey(obj:'{page}', prop:'{lang.uid}', append:'available')} | |
| <f:link.action action="translatedContent" | |
| arguments="{ | |
| uid:page.row.uid, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo "++++++++++++++++++++++++++++++++++++++" | |
| echo "+++ BAN varnish ++++++++++++++++++++++" | |
| echo "++++++++++++++++++++++++++++++++++++++" | |
| curl -X BAN -H 'Application-Ban-All: 1' -I http://xxxxxxxxx.lan:80 | |
| exit 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| composer require squizlabs/php_codesniffer | |
| vendor/bin/phpcs --standard=PSR2 --report=checkstyle --report-file=../test/phpcs.xml --extensions=php typo3conf/ext/dw_* typo3conf/ext/xyz_* || echo "PHPCS found errors" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <phpunit | |
| backupGlobals="true" | |
| backupStaticAttributes="false" | |
| bootstrap="../htdocs/vendor/typo3/testing-framework/Resources/Core/Build/UnitTestsBootstrap.php" | |
| colors="true" | |
| convertErrorsToExceptions="true" | |
| convertWarningsToExceptions="true" | |
| forceCoversAnnotation="false" | |
| processIsolation="false" | |
| stopOnError="false" |