Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tajine
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adullact
PKI
Tajine
Commits
8c8c1980
Commit
8c8c1980
authored
3 months ago
by
Fabrice Gangler
Browse files
Options
Downloads
Patches
Plain Diff
fix(doctrine/data-fixtures): add native types declarations to all the methods
https://github.com/doctrine/data-fixtures/blob/2.0.x/UPGRADE.md
parent
e6f149c2
No related branches found
No related tags found
No related merge requests found
Pipeline
#88752
failed
2 months ago
Stage: php8.1
Changes
1
Pipelines
29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/webapp/src/DataFixtures/AppCertificateFixtures.php
+60
-30
60 additions, 30 deletions
src/webapp/src/DataFixtures/AppCertificateFixtures.php
with
60 additions
and
30 deletions
src/webapp/src/DataFixtures/AppCertificateFixtures.php
+
60
−
30
View file @
8c8c1980
...
...
@@ -53,11 +53,14 @@ public function load(ObjectManager $manager): void
'/OU=SERVICE-DES-SPORS-DE-LA-VILLE-DE-CAUDIES-DE-CONFLENT'
.
'/CN=TEST_USER_1_TAJINE@EXAMPLE.ORG'
);
$cert1
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_2
));
$cert1
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_1
));
$cert1
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_2
,
'App\Entity\User'
));
$cert1
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_1
,
'App\Entity\User'
));
$cert1
->
setRevoked
(
false
);
$cert1
->
setExpired
(
false
);
$cert1
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
));
$cert1
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
,
'App\Entity\CertificateAuthority'
));
$cert1
->
setPublicKey
(
'-----BEGIN CERTIFICATE-----
MIIEqDCCA5CgAwIBAgIURouRx9P5Z/vWL5aaJRz3QOHwZtowDQYJKoZIhvcNAQEL
BQAweTELMAkGA1UEBhMCRlIxFDASBgNVBAcTC01PTlRQRUxMSUVSMSUwIwYDVQQK
...
...
@@ -100,11 +103,14 @@ public function load(ObjectManager $manager): void
'/OU=SERVICE-TECHNIQUE-DE-LA-VILLE-DE-SAINT-ANDRE-DE-BUEGES'
.
'/CN=TEST_USER_2_TAJINE@EXAMPLE.ORG'
);
$cert2
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_2
));
$cert2
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_2
));
$cert2
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_2
,
'App\Entity\User'
));
$cert2
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_2
,
'App\Entity\User'
));
$cert2
->
setRevoked
(
false
);
$cert2
->
setExpired
(
false
);
$cert2
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
));
$cert2
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
,
'App\Entity\CertificateAuthority'
));
$cert2
->
setPublicKey
(
'-----BEGIN CERTIFICATE-----
MIIEoTCCA4mgAwIBAgIUWPPFk41rGGO8VlJSZPvdIgnGC88wDQYJKoZIhvcNAQEL
BQAweTELMAkGA1UEBhMCRlIxFDASBgNVBAcTC01PTlRQRUxMSUVSMSUwIwYDVQQK
...
...
@@ -147,11 +153,14 @@ public function load(ObjectManager $manager): void
'/OU=SERVICE-INFORMATIQUE-DE-CLERMONT-AUVERGNE-METROPOLE'
.
'/CN=TEST_USER_3_TAJINE@EXAMPLE.ORG'
);
$cert3
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_1
));
$cert3
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_3
));
$cert3
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_1
,
'App\Entity\User'
));
$cert3
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_3
,
'App\Entity\User'
));
$cert3
->
setRevoked
(
false
);
$cert3
->
setExpired
(
false
);
$cert3
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
));
$cert3
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
,
'App\Entity\CertificateAuthority'
));
$cert3
->
setPublicKey
(
'-----BEGIN CERTIFICATE-----
MIIEmTCCA4GgAwIBAgIUM73i5vATj6HiS2KbDjxdRPTkOGwwDQYJKoZIhvcNAQEL
BQAweTELMAkGA1UEBhMCRlIxFDASBgNVBAcTC01PTlRQRUxMSUVSMSUwIwYDVQQK
...
...
@@ -194,11 +203,14 @@ public function load(ObjectManager $manager): void
'/OU=DSI'
.
'/CN=TEST_USER_4_TAJINE@EXAMPLE.ORG'
);
$cert4
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_1
));
$cert4
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_4
));
$cert4
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_1
,
'App\Entity\User'
));
$cert4
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_4
,
'App\Entity\User'
));
$cert4
->
setRevoked
(
false
);
$cert4
->
setExpired
(
false
);
$cert4
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
));
$cert4
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
,
'App\Entity\CertificateAuthority'
));
$cert4
->
setPublicKey
(
'-----BEGIN CERTIFICATE-----
MIIEZzCCA0+gAwIBAgIUcxGjMZgYVITnUW+WVf9+W8R1zLkwDQYJKoZIhvcNAQEL
BQAwaTELMAkGA1UEBhMCRlIxFDASBgNVBAcTC01PTlRQRUxMSUVSMREwDwYDVQQK
...
...
@@ -240,11 +252,14 @@ public function load(ObjectManager $manager): void
'/OU=DSI'
.
'/CN=TEST_USER_5_TAJINE@EXAMPLE.ORG'
);
$cert5
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_1
));
$cert5
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_5
));
$cert5
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_1
,
'App\Entity\User'
));
$cert5
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_5
,
'App\Entity\User'
));
$cert5
->
setRevoked
(
false
);
$cert5
->
setExpired
(
false
);
$cert5
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
));
$cert5
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
,
'App\Entity\CertificateAuthority'
));
$cert5
->
setPublicKey
(
'-----BEGIN CERTIFICATE-----
MIIEHTCCAwWgAwIBAgIUaTIjJ6BhDDZNw/5aheDu8/LTvd4wDQYJKoZIhvcNAQEL
BQAwaTELMAkGA1UEBhMCRlIxFDASBgNVBAcTC01PTlRQRUxMSUVSMREwDwYDVQQK
...
...
@@ -285,11 +300,14 @@ public function load(ObjectManager $manager): void
'/OU=DIRECTION-DE-L-INNOVATION-ET-DU-DEVELOPPEMENT-NUMERIQUE'
.
'/CN=TEST_USER_6_TAJINE@EXAMPLE.ORG'
);
$cert6
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_1
));
$cert6
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_7
));
$cert6
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_1
,
'App\Entity\User'
));
$cert6
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_7
,
'App\Entity\User'
));
$cert6
->
setRevoked
(
false
);
$cert6
->
setExpired
(
false
);
$cert6
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
));
$cert6
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
,
'App\Entity\CertificateAuthority'
));
$cert6
->
setPublicKey
(
'-----BEGIN CERTIFICATE-----
MIIEgjCCA2qgAwIBAgIUNABNCfRONVZ+1qu19jMt/PpeXPEwDQYJKoZIhvcNAQEL
BQAwaTELMAkGA1UEBhMCRlIxFDASBgNVBAcTC01PTlRQRUxMSUVSMREwDwYDVQQK
...
...
@@ -332,11 +350,14 @@ public function load(ObjectManager $manager): void
'/OU=DSI'
.
'/CN=TEST_USER_7_TAJINE@EXAMPLE.ORG'
);
$cert7
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_2
));
$cert7
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_7
));
$cert7
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_2
,
'App\Entity\User'
));
$cert7
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_7
,
'App\Entity\User'
));
$cert7
->
setRevoked
(
false
);
$cert7
->
setExpired
(
false
);
$cert7
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
));
$cert7
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
,
'App\Entity\CertificateAuthority'
));
$cert7
->
setPublicKey
(
'-----BEGIN CERTIFICATE-----
MIIEZzCCA0+gAwIBAgIUAcoXxjWuKfbk6TAfVQL9kiS/Ya0wDQYJKoZIhvcNAQEL
BQAwaTELMAkGA1UEBhMCRlIxFDASBgNVBAcTC01PTlRQRUxMSUVSMREwDwYDVQQK
...
...
@@ -378,11 +399,14 @@ public function load(ObjectManager $manager): void
'/OU=FINANCES'
.
'/CN=TEST_USER_7_TAJINE@EXAMPLE.ORG'
);
$cert8
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_2
));
$cert8
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_8
));
$cert8
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_2
,
'App\Entity\User'
));
$cert8
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_8
,
'App\Entity\User'
));
$cert8
->
setRevoked
(
false
);
$cert8
->
setExpired
(
false
);
$cert8
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
));
$cert8
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
,
'App\Entity\CertificateAuthority'
));
$cert8
->
setPublicKey
(
'-----BEGIN CERTIFICATE-----
MIIEZzCCA0+gAwIBAgIUcxGjMZgYVITnUW+WVf9+W8R1zLkwDQYJKoZIhvcNAQEL
BQAwaTELMAkGA1UEBhMCRlIxFDASBgNVBAcTC01PTlRQRUxMSUVSMREwDwYDVQQK
...
...
@@ -424,11 +448,14 @@ public function load(ObjectManager $manager): void
'/OU=21640445900010'
.
'/CN=TEST_USER_8_TAJINE@EXAMPLE.ORG'
);
$cert9
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_2
));
$cert9
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_8
));
$cert9
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_2
,
'App\Entity\User'
));
$cert9
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_8
,
'App\Entity\User'
));
$cert9
->
setRevoked
(
false
);
$cert9
->
setExpired
(
false
);
$cert9
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
));
$cert9
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
,
'App\Entity\CertificateAuthority'
));
$cert9
->
setPublicKey
(
'-----BEGIN CERTIFICATE-----
MIIEUTCCAzmgAwIBAgIUfv1BW+MAQSCYTOF4p+uwydsE6JswDQYJKoZIhvcNAQEL
BQAwaTELMAkGA1UEBhMCRlIxFDASBgNVBAcTC01PTlRQRUxMSUVSMREwDwYDVQQK
...
...
@@ -470,11 +497,14 @@ public function load(ObjectManager $manager): void
'/OU=PILOTAGE-ET-RESSOURCES'
.
'/CN=TEST_USER_8_TAJINE@EXAMPLE.ORG'
);
$cert10
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_2
));
$cert10
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_8
));
$cert10
->
setCreatedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_MANAGER_2
,
'App\Entity\User'
));
$cert10
->
setUsedBy
(
$this
->
getReference
(
AppUserFixtures
::
USER_REFERENCE_8
,
'App\Entity\User'
));
$cert10
->
setRevoked
(
false
);
$cert10
->
setExpired
(
false
);
$cert10
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
));
$cert10
->
setAuthority
(
$this
->
getReference
(
AppCertificateAuthorityFixtures
::
CERT_AUTHORITY_1
,
'App\Entity\CertificateAuthority'
));
$cert10
->
setPublicKey
(
'-----BEGIN CERTIFICATE-----
MIIEPzCCAyegAwIBAgIUTL0yFSRRpfCde2b6+iji4Nx9T8QwDQYJKoZIhvcNAQEL
BQAwaTELMAkGA1UEBhMCRlIxFDASBgNVBAcTC01PTlRQRUxMSUVSMREwDwYDVQQK
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment