PHP code example of fyrts / psr-4-case-checker
1. Go to this page and download the library: Download fyrts/psr-4-case-checker library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
fyrts / psr-4-case-checker example snippets
// The following would trigger an exception
$result = MyClass::method(); // MyClass being stored in myClass.php
// Incorrect namespaces would also trigger an exception
$result = \MyNamespace\MyClass::method(); // MyClass being stored in mynamespace/MyClass.php