Go to: File -> Settings -> Tools -> Terminal If you are using 64 Bit Git Bash(Git for Windows) put this in the Shell Path field. Or for 32 Bit […]
PSR-2 PHP_CodeSniffer Config
# phpcs.xml, this file must be under project root folder. <?xml version=”1.0″?> <ruleset name=”Basic Project Coding Standards”> <rule ref=”PSR2″ /> <!– extra rules for the laugh 😉 LOL –> <rule […]
Travis CI for PHPUnit and PHP_CodeSniffer
# .travis.yml, this file must be under project root folder. language: php php: – 7.2 before_script: – composer self-update – composer install –prefer-source –no-interaction –dev script: – phpunit – ./vendor/bin/phpcs […]
PHPUnit Boilerplate
Of course first phpunit/phpunit to be installed. I think, local installation much better. composer require –dev phpunit/phpunit ^7 # phpunit.xml <?xml version=”1.0″ encoding=”UTF-8″?> <phpunit backupGlobals=”false” backupStaticAttributes=”false” bootstrap=”vendor/autoload.php” colors=”true” convertErrorsToExceptions=”true” convertNoticesToExceptions=”true” […]
Social Poster – A Simple Facebook Page and Twitter poster
Social (Media) Poster Social Poster is a simple Facebook Page and Twitt poster Text Posting Text with Image-\s Posting Tech Social Poster uses a number of open source projects to […]