From e8b6d93a82e3475371661cf0465b7422e48a4d08 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 30 Jan 2016 23:31:58 +0000 Subject: [PATCH 1/2] Replace references of PSR-0 with PSR-4 --- create_framework/http_foundation.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create_framework/http_foundation.rst b/create_framework/http_foundation.rst index 9a87109bcec..c49143fc4a3 100644 --- a/create_framework/http_foundation.rst +++ b/create_framework/http_foundation.rst @@ -138,7 +138,7 @@ version may vary). ``vendor/autoload.php`` file that allows any class to be easily `autoloaded`_. Without autoloading, you would need to require the file where a class is defined before being able to use it. But thanks to - `PSR-0`_, we can just let Composer and PHP do the hard work for us. + `PSR-4`_, we can just let Composer and PHP do the hard work for us. Now, let's rewrite our application by using the ``Request`` and the ``Response`` classes:: @@ -309,5 +309,5 @@ applications using it (like `Symfony`_, `Drupal 8`_, `phpBB 4`_, `ezPublish .. _`Midgard CMS`: http://www.midgard-project.org/ .. _`Zikula`: http://zikula.org/ .. _`autoloaded`: http://php.net/autoload -.. _`PSR-0`: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md +.. _`PSR-4`: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md .. _`more`: http://symfony.com/components/HttpFoundation From 6b56eb7485debbc02e267f355f0b8faff3b335d9 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 31 Jan 2016 17:44:36 +0000 Subject: [PATCH 2/2] Update PSR-4 URL --- create_framework/http_foundation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_framework/http_foundation.rst b/create_framework/http_foundation.rst index c49143fc4a3..7c100cff3d4 100644 --- a/create_framework/http_foundation.rst +++ b/create_framework/http_foundation.rst @@ -309,5 +309,5 @@ applications using it (like `Symfony`_, `Drupal 8`_, `phpBB 4`_, `ezPublish .. _`Midgard CMS`: http://www.midgard-project.org/ .. _`Zikula`: http://zikula.org/ .. _`autoloaded`: http://php.net/autoload -.. _`PSR-4`: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md +.. _`PSR-4`: http://www.php-fig.org/psr/psr-4/ .. _`more`: http://symfony.com/components/HttpFoundation