@@ -52,7 +52,7 @@ As you can see for yourself, the simple code we had written first is not that
5252simple anymore if we want to avoid PHP warnings/notices and make the code
5353more secure.
5454
55- Beyond security, this codeis not even easily testable . Even if there is not
55+ Beyond security, this codecan be complex to test . Even if there is not
5656much to test, it strikes me that writing unit tests for the simplest possible
5757snippet of PHP code is not natural and feels ugly. Here is a tentative PHPUnit
5858unit test for the above code::
@@ -126,10 +126,10 @@ containing the new requirement.
126126..sidebar ::Class Autoloading
127127
128128 When installing a new dependency, Composer also generates a
129- ``vendor/autoload.php `` file that allows any class to beeasily
130- ` autoloaded `_. Without autoloading, you would need to require the file
131- where a class is defined before being able to use it. But thanks to
132- ` PSR-4 `_, we can just let Composer and PHP do the hard work for us.
129+ ``vendor/autoload.php `` file that allows any class to be` autoloaded `_.
130+ Without autoloading, you would need to require the file where a class
131+ is defined before being able to use it. But thanks to ` PSR-4 `_,
132+ we can just let Composer and PHP do the hard work for us.
133133
134134Now, let's rewrite our application by using the ``Request `` and the
135135``Response `` classes::