diff --git a/modules/10-basics/10-hello-world/en/README.md b/modules/10-basics/10-hello-world/en/README.md index d014bfb6..1ecc0833 100644 --- a/modules/10-basics/10-hello-world/en/README.md +++ b/modules/10-basics/10-hello-world/en/README.md @@ -26,10 +26,12 @@ print_r('Hexlet - programming school'); The command stays the same, only the content of the parentheses changes. So that the program understands that this is text, it is enclosed in quotes. You can use single `'...'` or double `"..."` quotes, but the opening and closing quotes must match. -```php + + +```text + +```text + +```text + +```text + +```text 0 (делится без остатка) Вариант без пробелов тоже работает: -```php + + +```text + +```text + +```text + +```text ``` When checking the file, the linter will find the following errors: diff --git a/modules/20-arithmetics/45-linting/es/EXERCISE.md b/modules/20-arithmetics/45-linting/es/EXERCISE.md index 5333ec23..3326e7d0 100644 --- a/modules/20-arithmetics/45-linting/es/EXERCISE.md +++ b/modules/20-arithmetics/45-linting/es/EXERCISE.md @@ -1,9 +1,11 @@ Recibiste código de un colega — funciona correctamente, pero infringe el estándar de formato PSR-12. Corrige los espacios alrededor de los operadores sin cambiar la lógica: -```php + + +```text + +```text + +```text ``` Al verificar el archivo, el linter encontrará los siguientes errores: diff --git a/modules/20-arithmetics/45-linting/ru/EXERCISE.md b/modules/20-arithmetics/45-linting/ru/EXERCISE.md index 1fba2af3..4c997e22 100644 --- a/modules/20-arithmetics/45-linting/ru/EXERCISE.md +++ b/modules/20-arithmetics/45-linting/ru/EXERCISE.md @@ -1,9 +1,11 @@ Вы получили код от коллеги — он работает правильно, но нарушает стандарт оформления PSR-12. Исправьте пробелы вокруг операторов, не меняя логику: -```php + + +```text + +```text + +```text ``` При проверке файла линтер найдет следующие ошибки: