Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PG-Momik committed Jun 12, 2024
1 parent ebbad93 commit f523407
Show file tree
Hide file tree
Showing 66 changed files with 85 additions and 90 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function checkCoreElementsCompleted(Request $request): JsonResponse

if (!empty($activityIds)) {
$coreElementsCompletion = $this->bulkPublishingService->getCoreElementsCompletedArray($activityIds);
$deprecationStatusMap = $this->bulkPublishingService->refreshDeprecation_status($activityIds);
$deprecationStatusMap = $this->bulkPublishingService->refreshDeprecationStatus($activityIds);

DB::commit();

Expand Down
2 changes: 1 addition & 1 deletion app/IATI/Services/Workflow/BulkPublishingService.php
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ public function deleteValidationResponses(): int
return $this->validationStatusRepository->deleteValidationResponses();
}

public function refreshDeprecation_status(mixed $activityIds): array
public function refreshDeprecationStatus(mixed $activityIds): array
{
$activities = $this->activityService->getActivitiesHavingIds($activityIds);
$arr = [];
Expand Down
2 changes: 1 addition & 1 deletion packages/base/fpm/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
image: ghcr.io/younginnovations/iatipublisher/fpm_server
imagePullPolicy: IfNotPresent
command: [ "/bin/sh","-c" ]
args: ["php artisan optimize:clear && php artisan command:SetAppDataJsonCache && php artisan command:FetchOrganisationRegistrationAgency; php-fpm"]
args: ["php artisan optimize:clear && php artisan command:UpdateJsonFiles && php artisan command:SetAppDataJsonCache && php artisan command:FetchOrganisationRegistrationAgency; php-fpm"]
ports:
- containerPort: 9000
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/ActivityDateType.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "ActivityDateType",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/ActivityScope.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "ActivityScope",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/ActivityStatus.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "ActivityStatus",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/AidType.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "AidType",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/AidTypeVocabulary.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "AidTypeVocabulary",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/BudgetIdentifier.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "BudgetIdentifier",
"xml:lang": "en",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "BudgetIdentifierVocabulary",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/BudgetNotProvided.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "BudgetNotProvided",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/BudgetStatus.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "BudgetStatus",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/BudgetType.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "BudgetType",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/CRSChannelCode.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "CRSChannelCode",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/CashandVoucherModalities.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "CashandVoucherModalities",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/CollaborationType.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "CollaborationType",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/ConditionType.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "ConditionType",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/ContactType.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "ContactType",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/Country.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "Country",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/Currency.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "Currency",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/DescriptionType.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "DescriptionType",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/DisbursementChannel.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "DisbursementChannel",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/DocumentCategory.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "DocumentCategory",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/EarmarkingCategory.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "EarmarkingCategory",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/FileFormat.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "FileFormat",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/FinanceType.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "FinanceType",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/FlowType.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "FlowType",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/GeographicExactness.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "GeographicExactness",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/GeographicLocationClass.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "GeographicLocationClass",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/GeographicLocationReach.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "GeographicLocationReach",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/GeographicVocabulary.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "GeographicVocabulary",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/HumanitarianScopeType.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "HumanitarianScopeType",
"xml:lang": "en",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "HumanitarianScopeVocabulary",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/IndicatorMeasure.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "IndicatorMeasure",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/IndicatorVocabulary.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "IndicatorVocabulary",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/Language.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "Language",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/LocationType.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "LocationType",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/OtherIdentifierType.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "OtherIdentifierType",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/PolicyMarker.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "PolicyMarker",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/PolicyMarkerVocabulary.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "PolicyMarkerVocabulary",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/PolicySignificance.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "PolicySignificance",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/Region.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "Region",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/RegionVocabulary.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "RegionVocabulary",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/RelatedActivityType.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "RelatedActivityType",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/ResultType.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "ResultType",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/ResultVocabulary.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "ResultVocabulary",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/SectorCategory.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "SectorCategory",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/SectorCode.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "SectorCode",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/SectorVocabulary.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "SectorVocabulary",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/TagVocabulary.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "TagVocabulary",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/TiedStatus.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "TiedStatus",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/TransactionType.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "TransactionType",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/UNSDG-Goals.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "UNSDG-Goals",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Activity/UNSDG-Targets.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "UNSDG-Targets",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Organization/Country.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "Country",
"xml:lang": "en",
Expand Down
2 changes: 1 addition & 1 deletion public/AppData/Data/Organization/Currency.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"date-last-modified": "2024-06-12 03:03:53",
"date-last-modified": "2024-06-12 04:09:26",
"version": "",
"name": "Currency",
"xml:lang": "en",
Expand Down
Loading

0 comments on commit f523407

Please sign in to comment.