Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
David Stockton committed Oct 1, 2021
1 parent 15ea20f commit ddf761f
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 18 deletions.
2 changes: 1 addition & 1 deletion concepts/for-loops/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
`for` loops are the most complex type of loop in PHP. They behave like `for` loops in `C`, `Java`, and `JavaScript`. It's basic form is:

```php
for (expr1, expr2, expr3) {
for (expr1; expr2; expr3) {
// statements
}
```
Expand Down
2 changes: 1 addition & 1 deletion concepts/for-loops/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
`for` loops are the most complex type of loop in PHP. They behave like `for` loops in `C`, `Java`, and `JavaScript`. It's basic form is:

```php
for (expr1, expr2, expr3) {
for (expr1; expr2; expr3) {
// statements
}
```
Expand Down
10 changes: 6 additions & 4 deletions docs/INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ For further instructions, read the manual on [Installation on Unix systems](http

### macOS

Normally macOS comes with PHP installed, but it is often an outdated version. There are other pre-built options available, including [MAMP](http://www.mamp.info/en/) and [php-osx.liip.ch](https://php-osx.liip.ch/).
Normally macOS comes with PHP installed, but it is often an outdated version. There are other pre-built options available, including [MAMP](http://www.mamp.info/en/) and [php-osx.liip.ch](https://php-osx.liip.ch/). Installing PHP through [HomeBrew](https://brew.sh/) is also a good option.

For further instructions, read the manual on [Installation on macOS](https://www.php.net/manual/en/install.macosx.php).

Expand All @@ -50,12 +50,14 @@ If you want to use a different OS, see instruction on [php.net/manual/en/install

#### Via Composer

PHPUnit version 8 can be installed globally via [Composer](https://getcomposer.org), using the following command.
PHPUnit version 9 can be installed globally via [Composer](https://getcomposer.org), using the following command.

```bash
> composer global require phpunit/phpunit ^8
> composer global require phpunit/phpunit ^9
```

It you are using PHP 8+ make sure you install at version 9.5 or later.

#### Manual installation

If you are not using Composer package manager, follow the official [Installing PHPUnit instructions](https://phpunit.readthedocs.io/en/8.5/installation.html).
If you are not using Composer package manager, follow the official [Installing PHPUnit instructions](https://phpunit.readthedocs.io/en/9.5/installation.html).
19 changes: 9 additions & 10 deletions docs/LEARNING.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Recommended Learning Resources

Exercism provides exercises and feedback but can be difficult to jump into for those learning PHP for the first time. These free resources can help you get started:

[Laracasts - The PHP Practitioner Video Tutorials](https://laracasts.com/series/php-for-beginners)
[PHP Documentation](http://php.net/docs.php)
[PHP The Right Way](http://www.phptherightway.com/)
[Codecademy's PHP Course](https://www.codecademy.com/learn/php)
[StackOverflow](http://stackoverflow.com/questions/tagged/php)
[PHP Pandas (Online Book)](https://daylerees.com/php-pandas/)
# Recommended Learning Resources

Exercism provides exercises and feedback but can be difficult to jump into for those learning PHP for the first time. These free resources can help you get started:

* [Laracasts - The PHP Practitioner Video Tutorials](https://laracasts.com/series/php-for-beginners)
* [PHP Documentation](http://php.net/docs.php)
* [PHP The Right Way](http://www.phptherightway.com/)
* [Codecademy's PHP Course](https://www.codecademy.com/learn/php)
* [StackOverflow](http://stackoverflow.com/questions/tagged/php)
2 changes: 1 addition & 1 deletion docs/TESTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ Execute the tests with:
For example, to run the tests for the Hello World exercise, you would run:

```
$ phpunit hello-world_test.php
$ phpunit HellowWorldTest.php
```
2 changes: 1 addition & 1 deletion exercises/shared/.docs/tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

For example, to run the tests for the Hello World exercise, you would run:

➜ ./phpunit hello-world_test.php
➜ ./phpunit HelloWorldTest.php

[PHPUnit]: http://phpunit.de

0 comments on commit ddf761f

Please sign in to comment.