Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8520393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:31:24+00:00 2026-06-11T06:31:24+00:00

To maintain code integrity across our servers we’d like to keep the /vendor/* directory

  • 0

To maintain code integrity across our servers we’d like to keep the /vendor/* directory under source control, rather than use composer to download files each time we roll out onto another server – i.e. we can be certain that the /vendor/* files are identical.

We run a syntax checker against all files committed to source control and run across the following error:

File '/vendor/sensio/generator-bundle/Sensio/Bundle/GeneratorBundle/Resources/skeleton/bundle/Bundle.php' failed the PHP syntax check with the following error:
PHP Parse error:  syntax error, unexpected '}', expecting T_NS_SEPARATOR in /vendor/sensio/generator-bundle/Sensio/Bundle/GeneratorBundle/Resources/skeleton/bundle/Bundle.php on line 3

Is the “error” in this file intentional ? Any help appreciated. File contents below:

<?php
namespace {{ namespace }};

use Symfony\Component\HttpKernel\Bundle\Bundle;

class {{ bundle }} extends Bundle
{
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T06:31:26+00:00Added an answer on June 11, 2026 at 6:31 am

    Yes, the “error” in this file is intentional as it is not really to be proceed by php “as is”. It is a template used by the command app/console generate:bundle to generate a bundle.

    So {{ namespace }} will be replaced by a real namespace and {{ bundle }} by the bundle name you choose when you generate the bundle.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have used traditional version control systems to maintain source code repositories on past
I got a task to maintain a c# project, I found some code like
I have to maintain a code of somebody. The code opens a thread. The
In a recent project, I have to maintain some PHP code. I set up
Is it possible to maintain app lifecycle with my code. I mean to create
I maintain a documentation with git and GitHub. The source files are TEX files
I maintain an applet that helps users to upload photos to our service. The
I have a Magento installation that is using GIT to maintain the code revisions
Recently, i took ownership of some c++ code. I am going to maintain this
I am trying to maintain code that compiles on lots of different systems. I've

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.