Skip to content

Commit

Permalink
Add src directory as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave MacFarlane committed Oct 2, 2024
1 parent ab7c5b5 commit 02bb670
Show file tree
Hide file tree
Showing 108 changed files with 173 additions and 67 deletions.
3 changes: 2 additions & 1 deletion src/Data/Cardinality.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data;

/**
Expand Down
3 changes: 2 additions & 1 deletion src/Data/DataInstance.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

/**
* This file defines the Instance interface.
*
Expand Down
4 changes: 2 additions & 2 deletions src/Data/Dictionary/Category.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
declare(strict_types=1);
<?php declare(strict_types=1);

namespace LORIS\Data\Dictionary;

/**
Expand Down
4 changes: 2 additions & 2 deletions src/Data/Dictionary/DictionaryItem.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
declare(strict_types=1);
<?php declare(strict_types=1);

namespace LORIS\Data\Dictionary;

use \LORIS\Data\Scope;
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Filter.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

/**
* This file contains a definition of the Filter interface.
*
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Filters/AccessibleResourceFilter.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Filters;

/**
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Filters/HasAnyPermissionOrUserSiteMatch.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

/**
* This file provides an implementation of the UserSiteMatchWithPermission filter.
*
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Filters/PhantomsFilter.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

/**
* PHP Version 7
*
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Filters/ScansFilter.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

/**
* PHP Version 7
*
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Filters/UserProjectMatch.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

/**
* This file provides an implementation of the UserProjectMatch filter.
*
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Filters/UserSiteMatch.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

/**
* This file provides an implementation of the UserSiteMatch filter.
*
Expand Down
3 changes: 2 additions & 1 deletion src/Data/MapIterator.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

/**
* This file defines a MapIterator implementation.
*
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Mapper.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

/**
* Thie file defines the \LORIS\Data\Mapper interface.
*
Expand Down
1 change: 1 addition & 0 deletions src/Data/Models/DicomSeriesDTO.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php declare(strict_types=1);

/**
* File implements the DicomSeriesDTO class
*
Expand Down
1 change: 1 addition & 0 deletions src/Data/Models/DicomTarDTO.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php declare(strict_types=1);

/**
* File implements the DicomTarDTO class
*
Expand Down
1 change: 1 addition & 0 deletions src/Data/Models/ImageDTO.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php declare(strict_types=1);

/**
* File that describe the ImageDTO class
*
Expand Down
1 change: 1 addition & 0 deletions src/Data/Models/RecordingDTO.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php declare(strict_types=1);

/**
* File that describe the RecordingDTO class.
*
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Provisioner.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

/**
* This file defines the concept of a data Provisioner.
*
Expand Down
3 changes: 2 additions & 1 deletion src/Data/ProvisionerInstance.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

/**
* This file defines a helper for implementing the \LORIS\Data\Provisioner
* interface.
Expand Down
1 change: 1 addition & 0 deletions src/Data/Provisioners/DBObjectProvisioner.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php declare(strict_types=1);

/**
* PHP Version 7
*
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Provisioners/DBRowProvisioner.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

/**
* File defines a DBRowProvisioner, which is a type of provisioner that
* gets data from an SQL database
Expand Down
1 change: 1 addition & 0 deletions src/Data/Provisioners/TimepointImagesRowProvisioner.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php declare(strict_types=1);

/**
* This file implements a data provisioner to get all images
* of a visit.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php declare(strict_types=1);

/**
* This file implements a data provisioner to get all images
* of a visit.
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Query/Criteria.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Query;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Query/Criteria/EndsWith.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Query\Criteria;

Expand Down
3 changes: 2 additions & 1 deletion src/Data/Query/Criteria/Equal.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Query\Criteria;

use LORIS\Data\Query\Criteria;
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Query/Criteria/GreaterThan.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Query\Criteria;

use LORIS\Data\Query\Criteria;
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Query/Criteria/GreaterThanOrEqual.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Query\Criteria;

use LORIS\Data\Query\Criteria;
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Query/Criteria/In.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Query\Criteria;

Expand Down
2 changes: 1 addition & 1 deletion src/Data/Query/Criteria/IsNull.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Query\Criteria;

Expand Down
2 changes: 1 addition & 1 deletion src/Data/Query/Criteria/LessThan.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Query\Criteria;

Expand Down
2 changes: 1 addition & 1 deletion src/Data/Query/Criteria/LessThanOrEqual.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Query\Criteria;

Expand Down
2 changes: 1 addition & 1 deletion src/Data/Query/Criteria/NotEqual.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Query\Criteria;

Expand Down
2 changes: 1 addition & 1 deletion src/Data/Query/Criteria/NotNull.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Query\Criteria;

Expand Down
2 changes: 1 addition & 1 deletion src/Data/Query/Criteria/StartsWith.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Query\Criteria;

Expand Down
2 changes: 1 addition & 1 deletion src/Data/Query/Criteria/Substring.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Query\Criteria;

Expand Down
1 change: 1 addition & 0 deletions src/Data/Query/NullQueryEngine.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php declare(strict_types=1);

namespace LORIS\Data\Query;

use \LORIS\Data\Dictionary\DictionaryItem;
Expand Down
1 change: 1 addition & 0 deletions src/Data/Query/QueryEngine.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php declare(strict_types=1);

namespace LORIS\Data\Query;

use \LORIS\StudyEntities\Candidate\CandID;
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Query/QueryTerm.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Query;

use LORIS\Data\Dictionary\DictionaryItem;
Expand Down
1 change: 1 addition & 0 deletions src/Data/Query/SQLQueryEngine.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php declare(strict_types=1);

namespace LORIS\Data\Query;

use LORIS\StudyEntities\Candidate\CandID;
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Scope.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data;

/**
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Table.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

/**
* This file implements the Table class.
*
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Type.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data;

/**
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Types/BooleanType.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Types;

/**
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Types/DateType.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Types;

/**
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Types/DecimalType.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Types;

/**
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Types/Duration.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Types;

/**
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Types/Enumeration.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Types;

/**
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Types/IntegerType.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Types;

/**
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Types/StringType.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Types;

/**
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Types/TimeType.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Types;

/**
Expand Down
3 changes: 2 additions & 1 deletion src/Data/Types/URI.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Data\Types;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Database/Query.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php declare(strict_types=1);

namespace LORIS\Database;

class Query implements \Countable, \IteratorAggregate
Expand Down
1 change: 1 addition & 0 deletions src/GUI/MenuItem.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php declare(strict_types=1);

namespace LORIS\GUI;

/**
Expand Down
1 change: 1 addition & 0 deletions src/GUI/Widget.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php declare(strict_types=1);

namespace LORIS\GUI;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Http/Client.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php declare(strict_types=1);

/**
* File contains the PSR18 HTTP Client implementation that
* can be constructed with the "new" keyword.
Expand Down
3 changes: 2 additions & 1 deletion src/Http/DataIteratorBinaryStream.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

namespace LORIS\Http;

use \Psr\Http\Message\StreamInterface;
Expand Down
3 changes: 2 additions & 1 deletion src/Http/EmptyStream.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

/**
* File contains the EmptyStream implementation.
*
Expand Down
1 change: 1 addition & 0 deletions src/Http/Endpoint.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php declare(strict_types=1);

namespace LORIS\Http;

use \Psr\Http\Message\ServerRequestInterface;
Expand Down
3 changes: 2 additions & 1 deletion src/Http/Error.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
<?php declare(strict_types=1);

/**
* This file implements a HTTP error, a simple wrapper which provide
* a html response using smarthy templates. It rely on the Diactoros implementation
Expand Down
Loading

0 comments on commit 02bb670

Please sign in to comment.