Skip to content

Commit a25b31a

Browse files
Fix the reference to the Arabic.php class file
1 parent e38718c commit a25b31a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

TODO.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,16 @@ Check for standards and compatibility using [PHP Code Sniffer](https://github.co
8686
```bash
8787
composer global require squizlabs/php_codesniffer --dev
8888

89-
phpcs arabic.php --standard=PSR1
90-
phpcs arabic.php --standard=PSR12
89+
phpcs Arabic.php --standard=PSR1
90+
phpcs Arabic.php --standard=PSR12
9191
```
9292

9393
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).
9494

9595
```bash
9696
phpcs --config-set installed_paths C:\xampp\PHPCompatibility
9797

98-
phpcs -p arabic.php --standard=PHPCompatibility --runtime-set testVersion 5.6-
98+
phpcs -p Arabic.php --standard=PHPCompatibility --runtime-set testVersion 5.6-
9999
```
100100

101101
### _PHPUnit Testing Framework_
@@ -106,7 +106,7 @@ Simply download the PHAR distribution of PHPUnit 9 from [here](https://phar.phpu
106106
The following command line will execute all the automated tests:
107107

108108
```bash
109-
php phpunit.phar --bootstrap ./src/arabic.php --testdox tests
109+
php phpunit.phar --bootstrap ./src/Arabic.php --testdox tests
110110
```
111111

112112
### _Xdebug: Debugging tool for PHP_
@@ -115,7 +115,7 @@ php phpunit.phar --bootstrap ./src/arabic.php --testdox tests
115115
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)):
116116

117117
```bash
118-
php phpunit.phar --bootstrap ./src/arabic.php --testdox tests --coverage-filter ./src/arabic.php --coverage-html coverage
118+
php phpunit.phar --bootstrap ./src/Arabic.php --testdox tests --coverage-filter ./src/Arabic.php --coverage-html coverage
119119
```
120120
Setup the Xdebug profiler by add the following lines in the php.ini file:
121121

@@ -169,7 +169,7 @@ $p->stopBuffering();
169169
Finally, you can include this library into your script like this:
170170

171171
```php
172-
require 'phar://path/to/ArPHP.phar/arabic.php';
172+
require 'phar://path/to/ArPHP.phar/Arabic.php';
173173

174174
$obj = new \ArPHP\I18N\Arabic();
175175

@@ -184,15 +184,15 @@ Strip comments, whitespaces, and preserve newlines. Compressed library file is i
184184
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:
185185

186186
```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
188188
```
189189

190190
### _phpDocumentor_
191191
[phpDocumentor](https://www.phpdoc.org/) analyzes your code to create great documentation.
192192
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).
193193

194194
```bash
195-
php C:\xampp\phpDocumentor.phar -f arabic.php -t ../docs/ --visibility="public" --title="Ar-PHP"
195+
php C:\xampp\phpDocumentor.phar -f Arabic.php -t ../docs/ --visibility="public" --title="Ar-PHP"
196196
```
197197

198198
### _Benchmarking Tool_

0 commit comments

Comments
 (0)