Skip to content

Commit 7fa3e6e

Browse files
carusogabrielgreg0ire
authored andcommitted
Use HTTPS instead of HTTP
1 parent e743981 commit 7fa3e6e

28 files changed

+82
-83
lines changed

docs/LICENSE.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
The Doctrine ORM documentation is licensed under [CC BY-NC-SA 3.0](http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_US)
1+
The Doctrine ORM documentation is licensed under [CC BY-NC-SA 3.0](https://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_US)
22

33
Creative Commons Legal Code
44

@@ -359,5 +359,4 @@ Creative Commons Notice
359359
available upon request from time to time. For the avoidance of doubt,
360360
this trademark restriction does not form part of this License.
361361

362-
Creative Commons may be contacted at http://creativecommons.org/.
363-
362+
Creative Commons may be contacted at https://creativecommons.org/.

docs/en/cookbook/advanced-field-value-conversion-using-custom-mapping-types.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ object into a string representation before saving to the database (in the
193193
value from the database (in the ``convertToPHPValue`` method).
194194

195195
The format of the string representation format is called
196-
`Well-known text (WKT) <http://en.wikipedia.org/wiki/Well-known_text>`_.
196+
`Well-known text (WKT) <https://en.wikipedia.org/wiki/Well-known_text>`_.
197197
The advantage of this format is, that it is both human readable and parsable by MySQL.
198198

199199
Internally, MySQL stores geometry values in a binary format that is not

docs/en/cookbook/decorator-pattern.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Persisting the Decorator Pattern
55

66
This recipe will show you a simple example of how you can use
77
Doctrine ORM to persist an implementation of the
8-
`Decorator Pattern <http://en.wikipedia.org/wiki/Decorator_pattern>`_
8+
`Decorator Pattern <https://en.wikipedia.org/wiki/Decorator_pattern>`_
99

1010
Component
1111
---------

docs/en/cookbook/dql-custom-walkers.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ In Doctrine 1 the DQL language was not implemented using a real
1414
parser. This made modifications of the DQL by the user impossible.
1515
Doctrine ORM in contrast has a real parser for the DQL language,
1616
which transforms the DQL statement into an
17-
`Abstract Syntax Tree <http://en.wikipedia.org/wiki/Abstract_syntax_tree>`_
17+
`Abstract Syntax Tree <https://en.wikipedia.org/wiki/Abstract_syntax_tree>`_
1818
and generates the appropriate SQL statement for it. Since this
1919
process is deterministic Doctrine heavily caches the SQL that is
2020
generated from any given DQL query, which reduces the performance

docs/en/cookbook/dql-user-defined-functions.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ dql statement.
132132

133133
The ``ArithmeticPrimary`` method call is the most common
134134
denominator of valid EBNF tokens taken from the
135-
`DQL EBNF grammar <http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/dql-doctrine-query-language.html#ebnf>`_
135+
`DQL EBNF grammar <https://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/dql-doctrine-query-language.html#ebnf>`_
136136
that matches our requirements for valid input into the DateDiff Dql
137137
function. Picking the right tokens for your methods is a tricky
138138
business, but the EBNF grammar is pretty helpful finding it, as is
@@ -246,6 +246,6 @@ vendor sql functions and extend the DQL languages scope.
246246

247247
Code for this Extension to DQL and other Doctrine Extensions can be
248248
found
249-
`in the GitHub DoctrineExtensions repository <http://github.com/beberlei/DoctrineExtensions>`_.
249+
`in the GitHub DoctrineExtensions repository <https://github.com/beberlei/DoctrineExtensions>`_.
250250

251251

docs/en/cookbook/implementing-arrayaccess-for-domain-objects.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Implementing ArrayAccess for Domain Objects
66
This recipe will show you how to implement ArrayAccess for your
77
domain objects in order to allow more uniform access, for example
88
in templates. In these examples we will implement ArrayAccess on a
9-
`Layer Supertype <http://martinfowler.com/eaaCatalog/layerSupertype.html>`_
9+
`Layer Supertype <https://martinfowler.com/eaaCatalog/layerSupertype.html>`_
1010
for all our domain objects.
1111

1212
Option 1

docs/en/cookbook/implementing-the-notify-changetracking-policy.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The NOTIFY change-tracking policy is the most effective
77
change-tracking policy provided by Doctrine but it requires some
88
boilerplate code. This recipe will show you how this boilerplate
99
code should look like. We will implement it on a
10-
`Layer Supertype <http://martinfowler.com/eaaCatalog/layerSupertype.html>`_
10+
`Layer Supertype <https://martinfowler.com/eaaCatalog/layerSupertype.html>`_
1111
for all our domain objects.
1212

1313
.. note::

docs/en/cookbook/implementing-wakeup-or-clone.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Implementing Wakeup or Clone
44
.. sectionauthor:: Roman Borschel (roman@code-factory.org)
55

66
As explained in the
7-
`restrictions for entity classes in the manual <http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/architecture.html#entities>`_,
7+
`restrictions for entity classes in the manual <https://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/architecture.html#entities>`_,
88
it is usually not allowed for an entity to implement ``__wakeup``
99
or ``__clone``, because Doctrine makes special use of them.
1010
However, it is quite easy to make use of these methods in a safe

docs/en/cookbook/working-with-datetime.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ to manage this mess,
6161
however let me crush your expectations fast. There is not a single database out there (supported by Doctrine ORM)
6262
that supports timezones correctly. Correctly here means that you can cover all the use-cases that
6363
can come up with timezones. If you don't believe me you should read up on `Storing DateTime
64-
in Databases <http://derickrethans.nl/storing-date-time-in-database.html>`_.
64+
in Databases <https://derickrethans.nl/storing-date-time-in-database.html>`_.
6565

6666
The problem is simple. Not a single database vendor saves the timezone, only the differences to UTC.
6767
However with frequent daylight saving and political timezone changes you can have a UTC offset that moves

docs/en/reference/advanced-configuration.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ steps of configuration.
5050
conversions with the query cache. These 2 caches require only an
5151
absolute minimum of memory yet they heavily improve the runtime
5252
performance of Doctrine. The recommended cache driver to use with
53-
Doctrine is `APC <http://www.php.net/apc>`_. APC provides you with
53+
Doctrine is `APC <https://php.net/apc>`_. APC provides you with
5454
an opcode-cache (which is highly recommended anyway) and a very
5555
fast in-memory cache storage that you can use for the metadata and
5656
query caches as seen in the previous code snippet.

docs/en/reference/architecture.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ be any regular PHP class observing the following restrictions:
8383
- An entity class must not implement ``__wakeup`` or
8484
:doc:`do so safely <../cookbook/implementing-wakeup-or-clone>`.
8585
Also consider implementing
86-
`Serializable <http://php.net/manual/en/class.serializable.php>`_
86+
`Serializable <https://php.net/manual/en/class.serializable.php>`_
8787
instead.
8888
- Any two entity classes in a class hierarchy that inherit
8989
directly or indirectly from one another must not have a mapped
@@ -189,7 +189,7 @@ The Unit of Work
189189

190190
Internally an ``EntityManager`` uses a ``UnitOfWork``, which is a
191191
typical implementation of the
192-
`Unit of Work pattern <http://martinfowler.com/eaaCatalog/unitOfWork.html>`_,
192+
`Unit of Work pattern <https://martinfowler.com/eaaCatalog/unitOfWork.html>`_,
193193
to keep track of all the things that need to be done the next time
194194
``flush`` is invoked. You usually do not directly interact with a
195195
``UnitOfWork`` but with the ``EntityManager`` instead.

docs/en/reference/basic-mapping.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ A cookbook article shows how to define :doc:`your own custom mapping types
289289
.. warning::
290290

291291
All Date types assume that you are exclusively using the default timezone
292-
set by `date_default_timezone_set() <http://php.net/manual/en/function.date-default-timezone-set.php>`_
292+
set by `date_default_timezone_set() <https://php.net/manual/en/function.date-default-timezone-set.php>`_
293293
or by the php.ini configuration ``date.timezone``. Working with
294294
different timezones will cause troubles and unexpected behavior.
295295

docs/en/reference/caching.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Memcache
7474

7575
In order to use the Memcache cache driver you must have it compiled
7676
and enabled in your php.ini. You can read about Memcache
77-
`on the PHP website <http://php.net/memcache>`_. It will
77+
`on the PHP website <https://php.net/memcache>`_. It will
7878
give you a little background information about what it is and how
7979
you can use it as well as how to install it.
8080

@@ -99,7 +99,7 @@ Memcache.
9999

100100
In order to use the Memcached cache driver you must have it compiled
101101
and enabled in your php.ini. You can read about Memcached
102-
`on the PHP website <http://php.net/memcached>`_. It will
102+
`on the PHP website <https://php.net/memcached>`_. It will
103103
give you a little background information about what it is and how
104104
you can use it as well as how to install it.
105105

@@ -121,7 +121,7 @@ Redis
121121

122122
In order to use the Redis cache driver you must have it compiled
123123
and enabled in your php.ini. You can read about what Redis is
124-
`from here <http://redis.io/>`_. Also check
124+
`from here <https://redis.io/>`_. Also check
125125
`A PHP extension for Redis <https://github.com/nicolasff/phpredis/>`_ for how you can use
126126
and install the Redis PHP extension.
127127

docs/en/reference/configuration.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ If you want to configure Doctrine in more detail, take a look at the :doc:`Advan
9595
.. note::
9696

9797
You can learn more about the database connection configuration in the
98-
`Doctrine DBAL connection configuration reference <http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html>`_.
98+
`Doctrine DBAL connection configuration reference <https://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html>`_.
9999

100100
Setting up the Commandline Tool
101101
-------------------------------

docs/en/reference/dql-doctrine-query-language.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ what type of results to expect.
838838
Single Table
839839
~~~~~~~~~~~~
840840

841-
`Single Table Inheritance <http://martinfowler.com/eaaCatalog/singleTableInheritance.html>`_
841+
`Single Table Inheritance <https://martinfowler.com/eaaCatalog/singleTableInheritance.html>`_
842842
is an inheritance mapping strategy where all classes of a hierarchy
843843
are mapped to a single database table. In order to distinguish
844844
which row represents which type in the hierarchy a so-called
@@ -931,7 +931,7 @@ entities:
931931
Class Table Inheritance
932932
~~~~~~~~~~~~~~~~~~~~~~~
933933

934-
`Class Table Inheritance <http://martinfowler.com/eaaCatalog/classTableInheritance.html>`_
934+
`Class Table Inheritance <https://martinfowler.com/eaaCatalog/classTableInheritance.html>`_
935935
is an inheritance mapping strategy where each class in a hierarchy
936936
is mapped to several tables: its own table and the tables of all
937937
parent classes. The table of a child class is linked to the table

docs/en/reference/events.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -329,9 +329,9 @@ XML would look something like this:
329329
330330
<?xml version="1.0" encoding="UTF-8"?>
331331
332-
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
333-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
334-
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
332+
<doctrine-mapping xmlns="https://doctrine-project.org/schemas/orm/doctrine-mapping"
333+
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
334+
xsi:schemaLocation="https://doctrine-project.org/schemas/orm/doctrine-mapping
335335
https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
336336
337337
<entity name="User">

docs/en/reference/faq.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ or adding entities to a collection twice. You have to check for both conditions
5252
in the code before calling ``$em->flush()`` if you know that unique constraint failures
5353
can occur.
5454

55-
In `Symfony2 <http://www.symfony.com>`_ for example there is a Unique Entity Validator
55+
In `Symfony2 <https://www.symfony.com>`_ for example there is a Unique Entity Validator
5656
to achieve this task.
5757

5858
For collections you can check with ``$collection->contains($entity)`` if an entity is already
@@ -112,8 +112,8 @@ over this collection using a LIMIT statement (or vendor equivalent).
112112
Doctrine does not offer a solution for this out of the box but there are several extensions
113113
that do:
114114

115-
* `DoctrineExtensions <http://github.com/beberlei/DoctrineExtensions>`_
116-
* `Pagerfanta <http://github.com/whiteoctober/pagerfanta>`_
115+
* `DoctrineExtensions <https://github.com/beberlei/DoctrineExtensions>`_
116+
* `Pagerfanta <https://github.com/whiteoctober/pagerfanta>`_
117117

118118
Why does pagination not work correctly with fetch joins?
119119
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

docs/en/reference/inheritance-mapping.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ defined on that class directly.
7373
Single Table Inheritance
7474
------------------------
7575

76-
`Single Table Inheritance <http://martinfowler.com/eaaCatalog/singleTableInheritance.html>`_
76+
`Single Table Inheritance <https://martinfowler.com/eaaCatalog/singleTableInheritance.html>`_
7777
is an inheritance mapping strategy where all classes of a hierarchy
7878
are mapped to a single database table. In order to distinguish
7979
which row represents which type in the hierarchy a so-called
@@ -181,7 +181,7 @@ the root entity of the single-table inheritance hierarchy.
181181
Class Table Inheritance
182182
-----------------------
183183

184-
`Class Table Inheritance <http://martinfowler.com/eaaCatalog/classTableInheritance.html>`_
184+
`Class Table Inheritance <https://martinfowler.com/eaaCatalog/classTableInheritance.html>`_
185185
is an inheritance mapping strategy where each class in a hierarchy
186186
is mapped to several tables: its own table and the tables of all
187187
parent classes. The table of a child class is linked to the table

docs/en/reference/limitations-and-known-issues.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ in the core library. We don't think behaviors add more value than
112112
they cost pain and debugging hell. Please see the many different
113113
blog posts we have written on this topics:
114114

115-
- `Doctrine2 "Behaviors" in a Nutshell <http://www.doctrine-project.org/2010/02/17/doctrine2-behaviours-nutshell.html>`_
116-
- `A re-usable Versionable behavior for Doctrine2 <http://www.doctrine-project.org/2010/02/24/doctrine2-versionable.html>`_
117-
- `Write your own ORM on top of Doctrine2 <http://www.doctrine-project.org/2010/07/19/your-own-orm-doctrine2.html>`_
118-
- `Doctrine ORM Behavioral Extensions <http://www.doctrine-project.org/2010/11/18/doctrine2-behavioral-extensions.html>`_
115+
- `Doctrine2 "Behaviors" in a Nutshell <https://www.doctrine-project.org/2010/02/17/doctrine2-behaviours-nutshell.html>`_
116+
- `A re-usable Versionable behavior for Doctrine2 <https://www.doctrine-project.org/2010/02/24/doctrine2-versionable.html>`_
117+
- `Write your own ORM on top of Doctrine2 <https://www.doctrine-project.org/2010/07/19/your-own-orm-doctrine2.html>`_
118+
- `Doctrine ORM Behavioral Extensions <https://www.doctrine-project.org/2010/11/18/doctrine2-behavioral-extensions.html>`_
119119

120120
Doctrine ORM has enough hooks and extension points so that **you** can
121121
add whatever you want on top of it. None of this will ever become
@@ -131,8 +131,8 @@ extensions out there that offer support for Nested Set with
131131
ORM:
132132

133133

134-
- `Doctrine2 Hierarchical-Structural Behavior <http://github.com/guilhermeblanco/Doctrine2-Hierarchical-Structural-Behavior>`_
135-
- `Doctrine2 NestedSet <http://github.com/blt04/doctrine2-nestedset>`_
134+
- `Doctrine2 Hierarchical-Structural Behavior <https://github.com/guilhermeblanco/Doctrine2-Hierarchical-Structural-Behavior>`_
135+
- `Doctrine2 NestedSet <https://github.com/blt04/doctrine2-nestedset>`_
136136

137137
Known Issues
138138
------------

docs/en/reference/second-level-cache.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Timestamp region
114114

115115
Tracks the timestamps of the most recent updates to particular entity.
116116

117-
`See API Doc <http://www.doctrine-project.org/api/orm/current/Doctrine/ORM/Cache/TimestampRegion.html>`_.
117+
`See API Doc <https://www.doctrine-project.org/api/orm/current/Doctrine/ORM/Cache/TimestampRegion.html>`_.
118118

119119
.. _reference-second-level-cache-mode:
120120

@@ -209,7 +209,7 @@ It allows you to provide a specific implementation of the following components :
209209
``CollectionHydrator``
210210
transforms collections into cache entries and cache entries into collections
211211

212-
`See API Doc <http://www.doctrine-project.org/api/orm/current/Doctrine/ORM/Cache/DefaultCacheFactory.html>`_.
212+
`See API Doc <https://www.doctrine-project.org/api/orm/current/Doctrine/ORM/Cache/DefaultCacheFactory.html>`_.
213213

214214
Region Lifetime
215215
~~~~~~~~~~~~~~~
@@ -272,7 +272,7 @@ If you want to get more information you should implement
272272
``\Doctrine\ORM\Cache\Logging\CacheLogger`` and collect
273273
all the information you want.
274274

275-
`See API Doc <http://www.doctrine-project.org/api/orm/current/Doctrine/ORM/Cache/Logging/CacheLogger.html>`_.
275+
`See API Doc <https://www.doctrine-project.org/api/orm/current/Doctrine/ORM/Cache/Logging/CacheLogger.html>`_.
276276

277277

278278
Entity cache definition
@@ -315,7 +315,7 @@ level cache region.
315315
.. code-block:: xml
316316
317317
<?xml version="1.0" encoding="utf-8"?>
318-
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
318+
<doctrine-mapping xmlns="https://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
319319
<entity name="Country">
320320
<cache usage="READ_ONLY" region="my_entity_region" />
321321
<id name="id" type="integer" column="id">
@@ -391,7 +391,7 @@ It caches the primary keys of association and cache each element will be cached
391391
.. code-block:: xml
392392
393393
<?xml version="1.0" encoding="utf-8"?>
394-
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
394+
<doctrine-mapping xmlns="https://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
395395
<entity name="State">
396396
397397
<cache usage="NONSTRICT_READ_WRITE" />

docs/en/reference/security.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ we cannot protect you from SQL injection.
1010
Please also read the documentation chapter on Security in Doctrine DBAL. This
1111
page only handles Security issues in the ORM.
1212

13-
- `DBAL Security Page <http://www.doctrine-project.org/projects/doctrine-dbal/en/current/reference/security.html>`
13+
- `DBAL Security Page <https://www.doctrine-project.org/projects/doctrine-dbal/en/current/reference/security.html>`
1414

1515
If you find a Security bug in Doctrine, please report it on Jira and change the
1616
Security Level to "Security Issues". It will be visible to Doctrine Core

0 commit comments

Comments
 (0)