diff --git a/.doctor-rst.yaml b/.doctor-rst.yaml index 3e804e4485f..4c3947e4d29 100644 --- a/.doctor-rst.yaml +++ b/.doctor-rst.yaml @@ -49,6 +49,7 @@ rules: no_namespace_after_use_statements: ~ no_php_open_tag_in_code_block_php_directive: ~ no_space_before_self_xml_closing_tag: ~ + no_typographic_quotes: ~ non_static_phpunit_assertions: ~ only_backslashes_in_namespace_in_php_code_block: ~ only_backslashes_in_use_statements_in_php_code_block: ~ diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 497dfd9b430..fa36efbcbcf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -72,7 +72,7 @@ jobs: key: ${{ runner.os }}-doctor-rst-${{ steps.extract_base_branch.outputs.branch }} - name: "Run DOCtor-RST" - uses: docker://oskarstark/doctor-rst:1.67.0 + uses: docker://oskarstark/doctor-rst:1.68.0 with: args: --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache diff --git a/best_practices.rst b/best_practices.rst index b887d4d289a..6211d042f0b 100644 --- a/best_practices.rst +++ b/best_practices.rst @@ -95,7 +95,7 @@ Use Secrets for Sensitive Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ When your application has sensitive configuration, like an API key, you should -store those securely via :doc:`Symfony’s secrets management system `. +store those securely via :doc:`Symfony's secrets management system `. Use Parameters for Application Configuration ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/components/config/caching.rst b/components/config/caching.rst index 810db48107e..f30128a5f9d 100644 --- a/components/config/caching.rst +++ b/components/config/caching.rst @@ -3,7 +3,7 @@ Caching based on Resources When all configuration resources are loaded, you may want to process the configuration values and combine them all in one file. This file acts -like a cache. Its contents don’t have to be regenerated every time the +like a cache. Its contents don't have to be regenerated every time the application runs – only when the configuration resources are modified. For example, the Symfony Routing component allows you to load all routes, diff --git a/contributing/code_of_conduct/code_of_conduct.rst b/contributing/code_of_conduct/code_of_conduct.rst index 6202fdad424..ce14dd5ad0e 100644 --- a/contributing/code_of_conduct/code_of_conduct.rst +++ b/contributing/code_of_conduct/code_of_conduct.rst @@ -34,7 +34,7 @@ Examples of unacceptable behavior include: any kind * Trolling, insulting or derogatory comments, and personal or political attacks * Public or private harassment -* Publishing others’ private information, such as a physical or email address, +* Publishing others' private information, such as a physical or email address, without their explicit permission * Other conduct which could reasonably be considered inappropriate in a professional setting @@ -128,7 +128,7 @@ Attribution This Code of Conduct is adapted from the `Contributor Covenant`_, version 2.1, available at https://www.contributor-covenant.org/version/2/1/code_of_conduct.html -Community Impact Guidelines were inspired by `Mozilla’s code of conduct enforcement ladder`_. +Community Impact Guidelines were inspired by `Mozilla's code of conduct enforcement ladder`_. Related Documents ----------------- @@ -141,4 +141,4 @@ Related Documents concrete_example_document .. _Contributor Covenant: https://www.contributor-covenant.org -.. _Mozilla’s code of conduct enforcement ladder: https://github.com/mozilla/diversity +.. _Mozilla's code of conduct enforcement ladder: https://github.com/mozilla/diversity diff --git a/contributing/code_of_conduct/concrete_example_document.rst b/contributing/code_of_conduct/concrete_example_document.rst index 60ffe2527db..227a41df4a8 100644 --- a/contributing/code_of_conduct/concrete_example_document.rst +++ b/contributing/code_of_conduct/concrete_example_document.rst @@ -9,7 +9,7 @@ according to the Symfony code of conduct. Concrete Examples ----------------- -* Unwelcome comments regarding a person’s lifestyle choices and practices, +* Unwelcome comments regarding a person's lifestyle choices and practices, including those related to food, health, parenting, drugs, and employment; * Deliberate misgendering or use of `dead names`_ (The birth name of a person who has since changed their name, often a transgender person); diff --git a/contributing/community/review-comments.rst b/contributing/community/review-comments.rst index 5b9bc932205..331352bb5fd 100644 --- a/contributing/community/review-comments.rst +++ b/contributing/community/review-comments.rst @@ -28,7 +28,7 @@ constructive, respectful and helpful reviews and replies. welcoming place for everyone. **You are free to disagree with someone's opinions, but don't be disrespectful.** -It’s important to accept that many programming decisions are opinions. +It's important to accept that many programming decisions are opinions. Discuss trade-offs, which you prefer, and reach a resolution quickly. It's not about being right or wrong, but using what works. diff --git a/contributing/diversity/further_reading.rst b/contributing/diversity/further_reading.rst index 8bb07c39c97..b5f44047159 100644 --- a/contributing/diversity/further_reading.rst +++ b/contributing/diversity/further_reading.rst @@ -9,7 +9,7 @@ Diversity in Open Source `Sage Sharp - What makes a good community? `_ `Ashe Dryden - The Ethics of Unpaid Labor and the OSS Community `_ `Model View Culture - The Dehumanizing Myth of the Meritocracy `_ -`Annalee - How “Good Intent” Undermines Diversity and Inclusion `_ +`Annalee - How "Good Intent" Undermines Diversity and Inclusion `_ `Karolina Szczur - Building Inclusive Communities `_ Code of Conduct @@ -22,7 +22,7 @@ Code of Conduct Inclusive language ------------------ -`Jenée Desmond-Harris - Why I’m finally convinced it's time to stop saying "you guys" `_ +`Jenée Desmond-Harris - Why I'm finally convinced it's time to stop saying "you guys" `_ `inclusive language presentations `_ Other talks and Blog Posts @@ -30,7 +30,7 @@ Other talks and Blog Posts `Lena Reinhard – A Talk About Nothing `_ `Lena Reinhard - A Talk about Everything `_ -`Sage Sharp - SCALE: Improving Diversity with Maslow’s hierarchy `_ +`Sage Sharp - SCALE: Improving Diversity with Maslow's hierarchy `_ `UCSF - Unconscious Bias `_ `Responding to harassment reports `_ `Unconscious bias at work `_ diff --git a/http_client.rst b/http_client.rst index 32ef552c64f..f4be8b2460b 100644 --- a/http_client.rst +++ b/http_client.rst @@ -898,7 +898,7 @@ in your requests:: 'extra' => ['trace_content' => false], ]); -This setting won’t affect other clients. +This setting won't affect other clients. Using URI Templates ~~~~~~~~~~~~~~~~~~~ diff --git a/scheduler.rst b/scheduler.rst index e7d855db249..3f2f8d7d2ac 100644 --- a/scheduler.rst +++ b/scheduler.rst @@ -603,7 +603,7 @@ In your handler, you can check a condition and, if affirmative, access the { public function getSchedule(): Schedule { - $this->removeOldReports = RecurringMessage::cron(‘3 8 * * 1’, new CleanUpOldSalesReport()); + $this->removeOldReports = RecurringMessage::cron('3 8 * * 1', new CleanUpOldSalesReport()); return $this->schedule ??= (new Schedule()) ->with(