You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: TODO.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,16 +86,16 @@ Check for standards and compatibility using [PHP Code Sniffer](https://github.co
86
86
```bash
87
87
composer global require squizlabs/php_codesniffer --dev
88
88
89
-
phpcs arabic.php --standard=PSR1
90
-
phpcs arabic.php --standard=PSR12
89
+
phpcs Arabic.php --standard=PSR1
90
+
phpcs Arabic.php --standard=PSR12
91
91
```
92
92
93
93
Get [PHP Compatibility Coding Standard](https://github.com/PHPCompatibility/PHPCompatibility) for PHP CodeSniffer by download the latest release from [here](https://github.com/PHPCompatibility/PHPCompatibility/releases), then unzip it into an arbitrary directory (e.g. inside c:\XAMPP).
The following command line will telling PHPUnit to include the code coverage report ([more info](https://phpunit.readthedocs.io/en/9.3/code-coverage-analysis.html)):
Setup the Xdebug profiler by add the following lines in the php.ini file:
121
121
@@ -169,7 +169,7 @@ $p->stopBuffering();
169
169
Finally, you can include this library into your script like this:
170
170
171
171
```php
172
-
require 'phar://path/to/ArPHP.phar/arabic.php';
172
+
require 'phar://path/to/ArPHP.phar/Arabic.php';
173
173
174
174
$obj = new \ArPHP\I18N\Arabic();
175
175
@@ -184,15 +184,15 @@ Strip comments, whitespaces, and preserve newlines. Compressed library file is i
184
184
You can use the following [sed](https://www.gnu.org/software/sed/) (Linux stream editor) command to create a minified version of `arabic.php` main script:
185
185
186
186
```bash
187
-
sed "/^\s*\*/d"arabic.php | sed "/^\s*\/\//d"| sed "/^\s*\/\*/d"| sed "/^\s*$/d"| sed -e "s/\s*=\s*/=/g"| sed -e "s/^\s*//g">arabic.min.php
187
+
sed "/^\s*\*/d"Arabic.php | sed "/^\s*\/\//d"| sed "/^\s*\/\*/d"| sed "/^\s*$/d"| sed -e "s/\s*=\s*/=/g"| sed -e "s/^\s*//g">Arabic.min.php
188
188
```
189
189
190
190
### _phpDocumentor_
191
191
[phpDocumentor](https://www.phpdoc.org/) analyzes your code to create great documentation.
192
192
Install it as a PHAR file format, all you need to do is download the phar binary from [here](http://phpdoc.org/phpDocumentor.phar), then save it in an arbitrary directory (e.g. inside c:\XAMPP).
0 commit comments