Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency to symplify/smart-file-system missing #2974

Closed
georgringer opened this issue May 17, 2022 · 1 comment
Closed

Dependency to symplify/smart-file-system missing #2974

georgringer opened this issue May 17, 2022 · 1 comment
Labels

Comments

@georgringer
Copy link

georgringer commented May 17, 2022

Getting the following exception

 [ERROR] Cannot autowire service
         "Ssch\TYPO3Rector\FileProcessor\Resources\Icons\IconsFileProcessor": argument
         "$smartFileSystem" of method "__construct()" has type
         "Symplify\SmartFileSystem\SmartFileSystem" but this class was not found.

What I find very strange is that IconsFileProcessor.php is available 2 times:

  • vendor/rector/rector/vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/IconsFileProcessor.php
  • vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/IconsFileProcessor.php

current composer.json is rather simple

{
  "name": "studiomitte/typo3-cms-theme",
  "config": {
    "optimize-autoloader": true,
    "secure-http": true,
    "sort-packages": true,
    "bin-dir": ".",
    "platform": {
      "php": "8.1.1"
    },
    "allow-plugins": {
      "typo3/cms-composer-installers": true,
      "typo3/class-alias-loader": true,
      "cweagans/composer-patches": true,
      "helhum/typo3-console-plugin": true,
      "helhum/dotenv-connector": true
    }
  },
    "repositories": [
        {
            "type": "path",
            "url": "./packages/*"
        }
    ],
  "require": {
    "php": "^8.1",
    "b13/container": "^1.3",
    "b13/justincase": "^1.0",
    "cweagans/composer-patches": "^1.6",
    "helhum/dotenv-connector": "^3.0",
    "helhum/typo3-console": "^7.1",
    "typo3/cms-belog": "^11",
    "typo3/cms-beuser": "^11",
    "typo3/cms-context-help": "^11",
    "typo3/cms-felogin": "^11",
    "typo3/cms-filelist": "^11",
    "typo3/cms-filemetadata": "^11",
    "typo3/cms-fluid-styled-content": "^11",
    "typo3/cms-form": "^11",
    "typo3/cms-info": "^11",
    "typo3/cms-lowlevel": "^11",
    "typo3/cms-recycler": "^11",
    "typo3/cms-redirects": "^11",
    "typo3/cms-reports": "^11",
    "typo3/cms-rte-ckeditor": "^11",
    "typo3/cms-saltedpasswords": "^11",
    "typo3/cms-scheduler": "^11",
    "typo3/cms-seo": "^11",
    "typo3/cms-setup": "^11",
    "typo3/cms-sys-note": "^11",
    "typo3/cms-tstemplate": "^11",
    "typo3/cms-viewpage": "^11"
  },

  "extra": {
    "typo3/cms": {
      "cms-package-dir": "{$vendor-dir}/typo3/cms",
      "web-dir": "public"
    },
    "helhum/typo3-console": {
      "install-binary": false,
      "install-extension-dummy": false
    },
    "scripts-dev": {
      "post-autoload-dump": [
        "@folder-structure"
      ]
    },
    "composer-exit-on-patch-failure": true
  },

  "require-dev": {
    "rector/rector": "^0.12.23",
    "ssch/typo3-rector": "^0.11.45",
    "symplify/smart-file-system": "^8"
  }
}
@sabbelasichon
Copy link
Owner

resolved by #2976

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants