Browse Source

correction namespace

Frederic 3 years ago
parent
commit
3fd8287e9b

+ 1
- 1
Entity/Common/AbstractEntity.php View File

@@ -1,6 +1,6 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\SCORMBundle\Entity\Common;
3
+namespace Logipro\Bundle\SCORMBundle\Entity\Common;
4 4
 
5 5
 use Doctrine\Common\Persistence\ObjectManagerAware;
6 6
 use Doctrine\Common\Persistence\ObjectManager;

+ 7
- 7
Entity/Course.php View File

@@ -1,10 +1,10 @@
1 1
 <?php
2
-namespace Logipro\SCORMBundle\Entity;
2
+namespace Logipro\Bundle\SCORMBundle\Entity;
3 3
 
4 4
 use Doctrine\Common\Collections\Collection;
5 5
 use Doctrine\Common\Collections\ArrayCollection;
6
-use Logipro\SCORMBundle\Entity\Registration;
7
-use Logipro\SCORMBundle\Entity\MapCourseZipfile;
6
+use Logipro\Bundle\SCORMBundle\Entity\Registration;
7
+use Logipro\Bundle\SCORMBundle\Entity\MapCourseZipfile;
8 8
 
9 9
 /**
10 10
  * Représente une activité dans le moteur SCORM.
@@ -226,8 +226,8 @@ class Course
226 226
     /**
227 227
      * Add MapCourseZipfile entity to collection (one to many).
228 228
      *
229
-     * @param \Logipro\MoteurScorm\Entity\ScormEngine\MapCourseZipfile $mapCourseZipfile
230
-     * @return \Logipro\MoteurScorm\Entity\ScormEngine\Scorm2004Track
229
+     * @param \Logipro\Bundle\MoteurScorm\Entity\ScormEngine\MapCourseZipfile $mapCourseZipfile
230
+     * @return \Logipro\Bundle\MoteurScorm\Entity\ScormEngine\Scorm2004Track
231 231
      */
232 232
     public function addMapCourseZipfile(MapCourseZipfile $mapCourseZipfile)
233 233
     {
@@ -239,8 +239,8 @@ class Course
239 239
     /**
240 240
      * Remove MapCourseZipfile entity from collection (one to many).
241 241
      *
242
-     * @param \Logipro\MoteurScorm\Entity\ScormEngine\MapCourseZipfile $mapCourseZipfile
243
-     * @return \Logipro\MoteurScorm\Entity\ScormEngine\Scorm2004Track
242
+     * @param \Logipro\Bundle\MoteurScorm\Entity\ScormEngine\MapCourseZipfile $mapCourseZipfile
243
+     * @return \Logipro\Bundle\MoteurScorm\Entity\ScormEngine\Scorm2004Track
244 244
      */
245 245
     public function removeMapCourseZipfile(MapCourseZipfile $mapCourseZipfile)
246 246
     {

+ 17
- 17
Entity/Learner.php View File

@@ -1,12 +1,12 @@
1 1
 <?php
2
-namespace Logipro\SCORMBundle\Entity;
2
+namespace Logipro\Bundle\SCORMBundle\Entity;
3 3
 
4 4
 use Doctrine\Common\Collections\ArrayCollection;
5 5
 use Doctrine\Common\Collections\Collection;
6
-use Logipro\SCORMBundle\Entity\Registration;
7
-use Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004Comment;
8
-use Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004ObjectiveProgressInformation;
9
-use Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004Track;
6
+use Logipro\Bundle\SCORMBundle\Entity\Registration;
7
+use Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004Comment;
8
+use Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004ObjectiveProgressInformation;
9
+use Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004Track;
10 10
 
11 11
 /**
12 12
  * Représente un apprenant dans le moteur SCORM.
@@ -194,8 +194,8 @@ class Learner
194 194
     /**
195 195
      * Add Scorm2004Comment entity to collection (one to many).
196 196
      *
197
-     * @paramce Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004Comment $scorm2004Comment
198
-     * @returce Logipro\SCORMBundle\Entity\ScormEngine\Learner
197
+     * @paramce Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004Comment $scorm2004Comment
198
+     * @returce Logipro\Bundle\SCORMBundle\Entity\ScormEngine\Learner
199 199
      */
200 200
     public function addScorm2004Comment(Scorm2004Comment $scorm2004Comment)
201 201
     {
@@ -207,8 +207,8 @@ class Learner
207 207
     /**
208 208
      * Remove Scorm2004Comment entity from collection (one to many).
209 209
      *
210
-     * @paramce Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004Comment $scorm2004Comment
211
-     * @returce Logipro\SCORMBundle\Entity\ScormEngine\Learner
210
+     * @paramce Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004Comment $scorm2004Comment
211
+     * @returce Logipro\Bundle\SCORMBundle\Entity\ScormEngine\Learner
212 212
      */
213 213
     public function removeScorm2004Comment(Scorm2004Comment $scorm2004Comment)
214 214
     {
@@ -230,8 +230,8 @@ class Learner
230 230
     /**
231 231
      * Add Scorm2004ObjectiveProgressInformation entity to collection (one to many).
232 232
      *
233
-     * @paramce Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004ObjectiveProgressInformation $scorm2004ObjectiveProgressInformation
234
-     * @returce Logipro\SCORMBundle\Entity\ScormEngine\Learner
233
+     * @paramce Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004ObjectiveProgressInformation $scorm2004ObjectiveProgressInformation
234
+     * @returce Logipro\Bundle\SCORMBundle\Entity\ScormEngine\Learner
235 235
      */
236 236
     public function addScorm2004ObjectiveProgressInformation(Scorm2004ObjectiveProgressInformation $scorm2004ObjectiveProgressInformation)
237 237
     {
@@ -243,8 +243,8 @@ class Learner
243 243
     /**
244 244
      * Remove Scorm2004ObjectiveProgressInformation entity from collection (one to many).
245 245
      *
246
-     * @paramce Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004ObjectiveProgressInformation $scorm2004ObjectiveProgressInformation
247
-     * @returce Logipro\SCORMBundle\Entity\ScormEngine\Learner
246
+     * @paramce Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004ObjectiveProgressInformation $scorm2004ObjectiveProgressInformation
247
+     * @returce Logipro\Bundle\SCORMBundle\Entity\ScormEngine\Learner
248 248
      */
249 249
     public function removeScorm2004ObjectiveProgressInformation(Scorm2004ObjectiveProgressInformation $scorm2004ObjectiveProgressInformation)
250 250
     {
@@ -266,8 +266,8 @@ class Learner
266 266
     /**
267 267
      * Add Scorm2004Track entity to collection (one to many).
268 268
      *
269
-     * @paramce Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004Track $scorm2004Track
270
-     * @returce Logipro\SCORMBundle\Entity\ScormEngine\Learner
269
+     * @paramce Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004Track $scorm2004Track
270
+     * @returce Logipro\Bundle\SCORMBundle\Entity\ScormEngine\Learner
271 271
      */
272 272
     public function addScorm2004Track(Scorm2004Track $scorm2004Track)
273 273
     {
@@ -279,8 +279,8 @@ class Learner
279 279
     /**
280 280
      * Remove Scorm2004Track entity from collection (one to many).
281 281
      *
282
-     * @paramce Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004Track $scorm2004Track
283
-     * @returce Logipro\SCORMBundle\Entity\ScormEngine\Learner
282
+     * @paramce Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004Track $scorm2004Track
283
+     * @returce Logipro\Bundle\SCORMBundle\Entity\ScormEngine\Learner
284 284
      */
285 285
     public function removeScorm2004Track(Scorm2004Track $scorm2004Track)
286 286
     {

+ 9
- 9
Entity/MapCourseZipfile.php View File

@@ -1,9 +1,9 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\SCORMBundle\Entity;
3
+namespace Logipro\Bundle\SCORMBundle\Entity;
4 4
 
5
-use Logipro\SCORMBundle\Entity\Course;
6
-use Logipro\SCORMBundle\Entity\ZipFile;
5
+use Logipro\Bundle\SCORMBundle\Entity\Course;
6
+use Logipro\Bundle\SCORMBundle\Entity\ZipFile;
7 7
 
8 8
 class MapCourseZipfile
9 9
 {
@@ -98,8 +98,8 @@ class MapCourseZipfile
98 98
     /**
99 99
      * Set Course entity (many to one).
100 100
      *
101
-     * @param \Logipro\SCORMBundle\Entity\ScormEngine\Course $course
102
-     * @return \Logipro\SCORMBundle\Entity\ScormEngine\MapCourseZipfile
101
+     * @param \Logipro\Bundle\SCORMBundle\Entity\ScormEngine\Course $course
102
+     * @return \Logipro\Bundle\SCORMBundle\Entity\ScormEngine\MapCourseZipfile
103 103
      */
104 104
     public function setCourse(Course $course = null)
105 105
     {
@@ -111,7 +111,7 @@ class MapCourseZipfile
111 111
     /**
112 112
      * Get Course entity (many to one).
113 113
      *
114
-     * @return \Logipro\SCORMBundle\Entity\ScormEngine\Course
114
+     * @return \Logipro\Bundle\SCORMBundle\Entity\ScormEngine\Course
115 115
      */
116 116
     public function getCourse()
117 117
     {
@@ -121,8 +121,8 @@ class MapCourseZipfile
121 121
     /**
122 122
      * Set ZipFile entity (many to one).
123 123
      *
124
-     * @param \Logipro\SCORMBundle\Entity\ScormEngine\ZipFile $scorm2004Item
125
-     * @return \Logipro\SCORMBundle\Entity\ScormEngine\MapCourseZipfile
124
+     * @param \Logipro\Bundle\SCORMBundle\Entity\ScormEngine\ZipFile $scorm2004Item
125
+     * @return \Logipro\Bundle\SCORMBundle\Entity\ScormEngine\MapCourseZipfile
126 126
      */
127 127
     public function setZipFile(ZipFile $zipFile = null)
128 128
     {
@@ -134,7 +134,7 @@ class MapCourseZipfile
134 134
     /**
135 135
      * Get ZipFile entity (many to one).
136 136
      *
137
-     * @return \Logipro\SCORMBundle\Entity\ScormEngine\ZipFile
137
+     * @return \Logipro\Bundle\SCORMBundle\Entity\ScormEngine\ZipFile
138 138
      */
139 139
     public function getZipFile()
140 140
     {

+ 1
- 1
Entity/Product.php View File

@@ -1,6 +1,6 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\SCORMBundle\Entity;
3
+namespace Logipro\Bundle\SCORMBundle\Entity;
4 4
 
5 5
 use Doctrine\ORM\Mapping as ORM;
6 6
 

+ 3
- 3
Entity/Registration.php View File

@@ -1,8 +1,8 @@
1 1
 <?php
2
-namespace Logipro\SCORMBundle\Entity;
2
+namespace Logipro\Bundle\SCORMBundle\Entity;
3 3
 
4
-use Logipro\SCORMBundle\Entity\Course;
5
-use Logipro\SCORMBundle\Entity\Learner;
4
+use Logipro\Bundle\SCORMBundle\Entity\Course;
5
+use Logipro\Bundle\SCORMBundle\Entity\Learner;
6 6
 use Doctrine\Common\Collections\ArrayCollection;
7 7
 use Doctrine\Common\Collections\Collection;
8 8
 

+ 7
- 7
Entity/RegistrationAttempt.php View File

@@ -1,8 +1,8 @@
1 1
 <?php
2
-namespace Logipro\SCORMBundle\Entity;
2
+namespace Logipro\Bundle\SCORMBundle\Entity;
3 3
 
4
-use Logipro\SCORMBundle\Entity\Registration;
5
-use Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004Track;
4
+use Logipro\Bundle\SCORMBundle\Entity\Registration;
5
+use Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004Track;
6 6
 
7 7
 /**
8 8
  * Représente une tentative pour une inscription donnée dans le moteur SCORM.
@@ -171,8 +171,8 @@ class RegistrationAttempt
171 171
     /**
172 172
      * Add Scorm2004Track entity to collection (one to many).
173 173
      *
174
-     * @param \Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004Track $scorm2004Track
175
-     * @return \Logipro\SCORMBundle\Entity\ScormEngine\RegistrationAttempt
174
+     * @param \Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004Track $scorm2004Track
175
+     * @return \Logipro\Bundle\SCORMBundle\Entity\ScormEngine\RegistrationAttempt
176 176
      */
177 177
     public function addScorm2004Track(Scorm2004Track $scorm2004Track)
178 178
     {
@@ -184,8 +184,8 @@ class RegistrationAttempt
184 184
     /**
185 185
      * Remove Scorm2004Track entity from collection (one to many).
186 186
      *
187
-     * @param \Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004Track $scorm2004Track
188
-     * @return \Logipro\SCORMBundle\Entity\ScormEngine\RegistrationAttempt
187
+     * @param \Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004Track $scorm2004Track
188
+     * @return \Logipro\Bundle\SCORMBundle\Entity\ScormEngine\RegistrationAttempt
189 189
      */
190 190
     public function removeScorm2004Track(Scorm2004Track $scorm2004Track)
191 191
     {

+ 1
- 1
Entity/Scorm2004/Scorm2004AttemptProgressInformation.php View File

@@ -7,7 +7,7 @@
7 7
  * information.
8 8
  */
9 9
 
10
-namespace Logipro\SCORMBundle\Entity\Scorm2004;
10
+namespace Logipro\Bundle\SCORMBundle\Entity\Scorm2004;
11 11
 
12 12
 use Doctrine\ORM\Mapping as ORM;
13 13
 use Doctrine\Common\Collections\ArrayCollection;

+ 1
- 1
Entity/Scorm2004/Scorm2004Comment.php View File

@@ -7,7 +7,7 @@
7 7
  * information.
8 8
  */
9 9
 
10
-namespace Logipro\SCORMBundle\Entity\Scorm2004;
10
+namespace Logipro\Bundle\SCORMBundle\Entity\Scorm2004;
11 11
 
12 12
 use Doctrine\ORM\Mapping as ORM;
13 13
 use Logipro\SCORMBundle\Entity\Learner;

+ 1
- 1
Entity/Scorm2004/Scorm2004Interaction.php View File

@@ -7,7 +7,7 @@
7 7
  * information.
8 8
  */
9 9
 
10
-namespace Logipro\SCORMBundle\Entity\Scorm2004;
10
+namespace Logipro\Bundle\SCORMBundle\Entity\Scorm2004;
11 11
 
12 12
 use Doctrine\ORM\Mapping as ORM;
13 13
 

+ 1
- 1
Entity/Scorm2004/Scorm2004MapTrackItem.php View File

@@ -7,7 +7,7 @@
7 7
  * information.
8 8
  */
9 9
 
10
-namespace Logipro\SCORMBundle\Entity\Scorm2004;
10
+namespace Logipro\Bundle\SCORMBundle\Entity\Scorm2004;
11 11
 
12 12
 use Doctrine\ORM\Mapping as ORM;
13 13
 

+ 1
- 1
Entity/Scorm2004/Scorm2004MapTrackObjective.php View File

@@ -7,7 +7,7 @@
7 7
  * information.
8 8
  */
9 9
 
10
-namespace Logipro\SCORMBundle\Entity\Scorm2004;
10
+namespace Logipro\Bundle\SCORMBundle\Entity\Scorm2004;
11 11
 
12 12
 //use Doctrine\ORM\Mapping as ORM;
13 13
 

+ 1
- 1
Entity/Scorm2004/Scorm2004Note.php View File

@@ -7,7 +7,7 @@
7 7
  * information.
8 8
  */
9 9
 
10
-namespace Logipro\SCORMBundle\Entity\Scorm2004;
10
+namespace Logipro\Bundle\SCORMBundle\Entity\Scorm2004;
11 11
 
12 12
 use Doctrine\ORM\Mapping as ORM;
13 13
 

+ 1
- 1
Entity/Scorm2004/Scorm2004ObjectiveProgressInformation.php View File

@@ -7,7 +7,7 @@
7 7
  * information.
8 8
  */
9 9
 
10
-namespace Logipro\SCORMBundle\Entity\Scorm2004;
10
+namespace Logipro\Bundle\SCORMBundle\Entity\Scorm2004;
11 11
 
12 12
 use Doctrine\ORM\Mapping as ORM;
13 13
 use Logipro\SCORMBundle\Entity\Learner;

+ 1
- 1
Entity/Scorm2004/Scorm2004Track.php View File

@@ -7,7 +7,7 @@
7 7
  * information.
8 8
  */
9 9
 
10
-namespace Logipro\SCORMBundle\Entity\Scorm2004;
10
+namespace Logipro\Bundle\SCORMBundle\Entity\Scorm2004;
11 11
 
12 12
 use Doctrine\ORM\Mapping as ORM;
13 13
 use Doctrine\Common\Collections\ArrayCollection;

+ 10
- 10
Entity/ZipFile.php View File

@@ -4,19 +4,19 @@
4 4
  *  SCORMBundle/Entity//ZipFile.php
5 5
  *
6 6
  * @category ScormEngine_Entity
7
- * @author   Cédric Leberche <cedric.leberche@logipro.com>
7
+ * @author   Cédric Leberche <cedric.leberche@Logipro\Bundle.com>
8 8
  */
9 9
 
10
-namespace Logipro\SCORMBundle\Entity;
10
+namespace Logipro\Bundle\SCORMBundle\Entity;
11 11
 
12
-use Logipro\SCORMBundle\Entity\Common\AbstractEntity;
13
-use Logipro\SCORMBundle\Package\Exception\PackageException;
14
-use Logipro\SCORMBundle\Entity\MapCourseZipfile;
12
+use Logipro\Bundle\SCORMBundle\Entity\Common\AbstractEntity;
13
+use Logipro\Bundle\SCORMBundle\Package\Exception\PackageException;
14
+use Logipro\Bundle\SCORMBundle\Entity\MapCourseZipfile;
15 15
 
16 16
 /**
17 17
  * Représente un fichier compressé
18 18
  *
19
- * @author Cédric Leberche <cedric.leberche@logipro.com>
19
+ * @author Cédric Leberche <cedric.leberche@Logipro\Bundle.com>
20 20
  */
21 21
 class ZipFile extends AbstractEntity
22 22
 {
@@ -255,8 +255,8 @@ class ZipFile extends AbstractEntity
255 255
     /**
256 256
      * Add MapCourseZipfile entity to collection (one to many).
257 257
      *
258
-     * @param \Logipro\SCORMBundle\Entity\ScormEngine\MapCourseZipfile $mapCourseZipfiles
259
-     * @return \Logipro\SCORMBundle\Entity\ScormEngine\ZipFile
258
+     * @param \Logipro\Bundle\SCORMBundle\Entity\ScormEngine\MapCourseZipfile $mapCourseZipfiles
259
+     * @return \Logipro\Bundle\SCORMBundle\Entity\ScormEngine\ZipFile
260 260
      */
261 261
     public function addMapCourseZipfile(MapCourseZipfile $mapCourseZipfile)
262 262
     {
@@ -268,8 +268,8 @@ class ZipFile extends AbstractEntity
268 268
     /**
269 269
      * Remove MapCourseZipfile entity from collection (one to many).
270 270
      *
271
-     * @param \Logipro\SCORMBundle\Entity\ScormEngine\MapCourseZipfile $mapCourseZipfiles
272
-     * @return \Logipro\SCORMBundle\Entity\ScormEngine\ZipFile
271
+     * @param \Logipro\Bundle\SCORMBundle\Entity\ScormEngine\MapCourseZipfile $mapCourseZipfiles
272
+     * @return \Logipro\Bundle\SCORMBundle\Entity\ScormEngine\ZipFile
273 273
      */
274 274
     public function removeMapCourseZipfile(MapCourseZipfile $mapCourseZipfile)
275 275
     {

+ 1
- 1
LearningModels/DOMLearningModel.php View File

@@ -1,6 +1,6 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\SCORMBundle\LearningModels;
3
+namespace Logipro\Bundle\SCORMBundle\LearningModels;
4 4
 
5 5
 class DOMLearningModel
6 6
 {

+ 1
- 1
LearningModels/DOMPackageInterface.php View File

@@ -1,6 +1,6 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\SCORMBundle\LearningModels;
3
+namespace Logipro\Bundle\SCORMBundle\LearningModels;
4 4
 
5 5
 interface DOMPackageInterface
6 6
 {

+ 1
- 1
LearningModels/DOMSCORM.php View File

@@ -1,6 +1,6 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\SCORMBundle\LearningModels;
3
+namespace Logipro\Bundle\SCORMBundle\LearningModels;
4 4
 
5 5
 /**
6 6
  * classe mere de tous les objets DOMSCORMversion

+ 1
- 1
LearningModels/DOMSCORM12.php View File

@@ -1,6 +1,6 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\SCORMBundle\LearningModels;
3
+namespace Logipro\Bundle\SCORMBundle\LearningModels;
4 4
 
5 5
 class DOMSCORM12 extends DOMSCORM
6 6
 {

+ 1
- 1
LearningModels/DOMSCORM2004.php View File

@@ -1,6 +1,6 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\SCORMBundle\LearningModels;
3
+namespace Logipro\Bundle\SCORMBundle\LearningModels;
4 4
 
5 5
 use PHPUnit\Runner\Exception;
6 6
 

+ 5
- 5
LearningModels/SCORM2004/SequencingNavigation/DeliveryRequest.php View File

@@ -1,11 +1,11 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation;
3
+namespace Logipro\Bundle\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation;
4 4
 
5
-use Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004MapTrackItem;
6
-use Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004AttemptProgressInformation;
7
-use Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004ObjectiveProgressInformation;
8
-use Logipro\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation\SeqNavRequest;
5
+use Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004MapTrackItem;
6
+use Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004AttemptProgressInformation;
7
+use Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004ObjectiveProgressInformation;
8
+use Logipro\Bundle\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation\SeqNavRequest;
9 9
 
10 10
 class DeliveryRequest extends SeqNavRequest
11 11
 {

+ 5
- 5
LearningModels/SCORM2004/SequencingNavigation/NavigationRequestValidator.php View File

@@ -1,11 +1,11 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation;
3
+namespace Logipro\Bundle\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation;
4 4
 
5
-use Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004MapTrackItem;
6
-use Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004AttemptProgressInformation;
7
-use Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004ObjectiveProgressInformation;
8
-use Logipro\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation\SeqNavRequest;
5
+use Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004MapTrackItem;
6
+use Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004AttemptProgressInformation;
7
+use Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004ObjectiveProgressInformation;
8
+use Logipro\Bundle\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation\SeqNavRequest;
9 9
 
10 10
 /**
11 11
  * Validation des requetes de navigation

+ 10
- 10
LearningModels/SCORM2004/SequencingNavigation/SeqNavRequest.php View File

@@ -1,15 +1,15 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation;
4
-
5
-use Logipro\SCORMBundle\Entity\Registration;
6
-use Logipro\SCORMBundle\Entity\RegistrationAttempt;
7
-use Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004AttemptProgressInformation;
8
-use Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004MapTrackItem;
9
-use Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004ObjectiveProgressInformation;
10
-use Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004Track;
11
-use Logipro\SCORMBundle\LearningModels\DOMSCORM2004;
12
-use Logipro\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation\Scorm2004Const;
3
+namespace Logipro\Bundle\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation;
4
+
5
+use Logipro\Bundle\SCORMBundle\Entity\Registration;
6
+use Logipro\Bundle\SCORMBundle\Entity\RegistrationAttempt;
7
+use Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004AttemptProgressInformation;
8
+use Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004MapTrackItem;
9
+use Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004ObjectiveProgressInformation;
10
+use Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004Track;
11
+use Logipro\Bundle\SCORMBundle\LearningModels\DOMSCORM2004;
12
+use Logipro\Bundle\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation\Scorm2004Const;
13 13
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
14 14
 use Symfony\Component\DependencyInjection\ContainerAwareTrait;
15 15
 use Symfony\Component\DependencyInjection\ContainerInterface;

+ 3
- 3
LearningModels/SCORM2004/SequencingNavigation/SequencingRequest.php View File

@@ -1,9 +1,9 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation;
3
+namespace Logipro\Bundle\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation;
4 4
 
5
-use Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004MapTrackItem;
6
-use Logipro\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation\SeqNavRequest;
5
+use Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004MapTrackItem;
6
+use Logipro\Bundle\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation\SeqNavRequest;
7 7
 
8 8
 class SequencingRequest extends SeqNavRequest
9 9
 {

+ 4
- 4
LearningModels/SCORM2004/SequencingNavigation/TerminationRequest.php View File

@@ -1,10 +1,10 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation;
3
+namespace Logipro\Bundle\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation;
4 4
 
5
-use Logipro\SCORMBundle\Entity\Scorm2004\Scorm2004MapTrackItem;
6
-use Logipro\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation\SeqNavRequest;
7
-use Logipro\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation\SequencingRequest;
5
+use Logipro\Bundle\SCORMBundle\Entity\Scorm2004\Scorm2004MapTrackItem;
6
+use Logipro\Bundle\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation\SeqNavRequest;
7
+use Logipro\Bundle\SCORMBundle\LearningModels\SCORM2004\SequencingNavigation\SequencingRequest;
8 8
 
9 9
 class TerminationRequest extends SeqNavRequest
10 10
 {

+ 1
- 1
LearningModels/SCORMTools.php View File

@@ -1,6 +1,6 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\SCORMBundle\LearningModels;
3
+namespace Logipro\Bundle\SCORMBundle\LearningModels;
4 4
 
5 5
 class SCORMTools
6 6
 {

+ 4
- 2
Tests/LearningModels/SCORM2004/DOMSCORM2004Test.php View File

@@ -1,9 +1,11 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\SCORMBundle\tests\LearningModels\SCORM2004;
3
+//namespace Logipro\SCORMBundle\tests\LearningModels\SCORM2004;
4
+namespace Logipro\Bundle\SCORMBundle\Tests\SCORM2004;
4 5
 
5 6
 use PHPUnit\Framework\TestCase;
6
-use Logipro\SCORMBundle\LearningModels\DOMLearningModel;
7
+use Logipro\Bundle\SCORMBundle\LearningModels\DOMLearningModel;
8
+
7 9
 
8 10
 class DOMSCORM2004Test extends TestCase
9 11
 {

+ 2
- 2
Tests/LearningModels/SCORMToolsTest.php View File

@@ -1,9 +1,9 @@
1 1
 <?php
2 2
 
3
-namespace Logipro\SCORMBundle\tests\LearningModels;
3
+namespace Logipro\Bundle\SCORMBundle\tests\LearningModels;
4 4
 
5 5
 use PHPUnit\Framework\TestCase;
6
-use Logipro\SCORMBundle\LearningModels\SCORMTools;
6
+use Logipro\Bundle\SCORMBundle\LearningModels\SCORMTools;
7 7
 
8 8
 class SCORMToolsTest extends TestCase
9 9
 {

+ 18
- 0
phpunit.xml.dist View File

@@ -0,0 +1,18 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+
3
+<phpunit backupGlobals="false"
4
+         backupStaticAttributes="false"
5
+         colors="true"
6
+         convertErrorsToExceptions="true"
7
+         convertNoticesToExceptions="true"
8
+         convertWarningsToExceptions="true"
9
+         processIsolation="false"
10
+         stopOnFailure="false"
11
+         bootstrap="Tests/bootstrap.php"
12
+>
13
+    <testsuites>
14
+        <testsuite name="Logipro SCORM Bundle Test Suite">
15
+            <directory suffix="Test.php">./Tests/</directory>
16
+        </testsuite>
17
+    </testsuites>
18
+</phpunit>

Loading…
Cancel
Save